home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / rc-faq < prev    next >
Mailbox/MIME Entity  |  1994-06-13  |  43.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From uni-regensburg.de!fauern!xlink.net!howland.reston.ans.net!usc!sdd.hp.com!saimiri.primate.wisc.edu!news.doit.wisc.edu!oldp.", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 75 6e 69 | 2d 72 65 67 65 6e 73 62 |From uni|-regensb|
|00000010| 75 72 67 2e 64 65 21 66 | 61 75 65 72 6e 21 78 6c |urg.de!f|auern!xl|
|00000020| 69 6e 6b 2e 6e 65 74 21 | 68 6f 77 6c 61 6e 64 2e |ink.net!|howland.|
|00000030| 72 65 73 74 6f 6e 2e 61 | 6e 73 2e 6e 65 74 21 75 |reston.a|ns.net!u|
|00000040| 73 63 21 73 64 64 2e 68 | 70 2e 63 6f 6d 21 73 61 |sc!sdd.h|p.com!sa|
|00000050| 69 6d 69 72 69 2e 70 72 | 69 6d 61 74 65 2e 77 69 |imiri.pr|imate.wi|
|00000060| 73 63 2e 65 64 75 21 6e | 65 77 73 2e 64 6f 69 74 |sc.edu!n|ews.doit|
|00000070| 2e 77 69 73 63 2e 65 64 | 75 21 6f 6c 64 70 2e 61 |.wisc.ed|u!oldp.a|
|00000080| 73 74 72 6f 2e 77 69 73 | 63 2e 65 64 75 21 61 6c |stro.wis|c.edu!al|
|00000090| 61 6e 20 53 75 6e 20 4a | 75 6e 20 20 35 20 32 32 |an Sun J|un 5 22|
|000000a0| 3a 31 38 3a 35 34 20 31 | 39 39 34 0a 50 61 74 68 |:18:54 1|994.Path|
|000000b0| 3a 20 75 6e 69 2d 72 65 | 67 65 6e 73 62 75 72 67 |: uni-re|gensburg|
|000000c0| 2e 64 65 21 66 61 75 65 | 72 6e 21 78 6c 69 6e 6b |.de!faue|rn!xlink|
|000000d0| 2e 6e 65 74 21 68 6f 77 | 6c 61 6e 64 2e 72 65 73 |.net!how|land.res|
|000000e0| 74 6f 6e 2e 61 6e 73 2e | 6e 65 74 21 75 73 63 21 |ton.ans.|net!usc!|
|000000f0| 73 64 64 2e 68 70 2e 63 | 6f 6d 21 73 61 69 6d 69 |sdd.hp.c|om!saimi|
|00000100| 72 69 2e 70 72 69 6d 61 | 74 65 2e 77 69 73 63 2e |ri.prima|te.wisc.|
|00000110| 65 64 75 21 6e 65 77 73 | 2e 64 6f 69 74 2e 77 69 |edu!news|.doit.wi|
|00000120| 73 63 2e 65 64 75 21 6f | 6c 64 70 2e 61 73 74 72 |sc.edu!o|ldp.astr|
|00000130| 6f 2e 77 69 73 63 2e 65 | 64 75 21 61 6c 61 6e 0a |o.wisc.e|du!alan.|
|00000140| 46 72 6f 6d 3a 20 61 6c | 61 6e 40 6f 6c 64 70 2e |From: al|an@oldp.|
|00000150| 61 73 74 72 6f 2e 77 69 | 73 63 2e 65 64 75 20 28 |astro.wi|sc.edu (|
|00000160| 41 6c 61 6e 20 57 61 74 | 73 6f 6e 29 0a 4e 65 77 |Alan Wat|son).New|
|00000170| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 75 6e |sgroups:| comp.un|
|00000180| 69 78 2e 73 68 65 6c 6c | 2c 63 6f 6d 70 2e 61 6e |ix.shell|,comp.an|
|00000190| 73 77 65 72 73 2c 6e 65 | 77 73 2e 61 6e 73 77 65 |swers,ne|ws.answe|
|000001a0| 72 73 0a 53 75 62 6a 65 | 63 74 3a 20 72 63 20 73 |rs.Subje|ct: rc s|
|000001b0| 68 65 6c 6c 20 46 72 65 | 71 75 65 6e 74 6c 79 20 |hell Fre|quently |
|000001c0| 41 73 6b 65 64 20 51 75 | 65 73 74 69 6f 6e 73 0a |Asked Qu|estions.|
|000001d0| 46 6f 6c 6c 6f 77 75 70 | 2d 54 6f 3a 20 70 6f 73 |Followup|-To: pos|
|000001e0| 74 65 72 0a 44 61 74 65 | 3a 20 35 20 4a 75 6e 20 |ter.Date|: 5 Jun |
|000001f0| 31 39 39 34 20 31 36 3a | 33 35 3a 33 32 20 47 4d |1994 16:|35:32 GM|
|00000200| 54 0a 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|00000210| 44 65 70 61 72 74 6d 65 | 6e 74 20 6f 66 20 41 73 |Departme|nt of As|
|00000220| 74 72 6f 6e 6f 6d 79 2c | 20 55 6e 69 76 65 72 73 |tronomy,| Univers|
|00000230| 69 74 79 20 6f 66 20 57 | 69 73 63 6f 6e 73 69 6e |ity of W|isconsin|
|00000240| 20 2d 2d 20 4d 61 64 69 | 73 6f 6e 0a 4c 69 6e 65 | -- Madi|son.Line|
|00000250| 73 3a 20 31 30 39 38 0a | 41 70 70 72 6f 76 65 64 |s: 1098.|Approved|
|00000260| 3a 20 6e 65 77 73 2d 61 | 6e 73 77 65 72 73 2d 72 |: news-a|nswers-r|
|00000270| 65 71 75 65 73 74 40 4d | 49 54 2e 45 64 75 0a 45 |equest@M|IT.Edu.E|
|00000280| 78 70 69 72 65 73 3a 20 | 30 34 20 4a 75 6c 20 31 |xpires: |04 Jul 1|
|00000290| 39 39 34 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |994.Mess|age-ID: |
|000002a0| 3c 32 73 73 75 73 6b 24 | 6c 69 62 40 6e 65 77 73 |<2ssusk$|lib@news|
|000002b0| 2e 64 6f 69 74 2e 77 69 | 73 63 2e 65 64 75 3e 0a |.doit.wi|sc.edu>.|
|000002c0| 4e 4e 54 50 2d 50 6f 73 | 74 69 6e 67 2d 48 6f 73 |NNTP-Pos|ting-Hos|
|000002d0| 74 3a 20 6f 6c 64 70 2e | 61 73 74 72 6f 2e 77 69 |t: oldp.|astro.wi|
|000002e0| 73 63 2e 65 64 75 0a 53 | 75 6d 6d 61 72 79 3a 20 |sc.edu.S|ummary: |
|000002f0| 41 6e 73 77 65 72 73 20 | 74 6f 20 46 72 65 71 75 |Answers |to Frequ|
|00000300| 65 6e 74 6c 79 20 41 73 | 6b 65 64 20 51 75 65 73 |ently As|ked Ques|
|00000310| 74 69 6f 6e 73 20 61 62 | 6f 75 74 20 72 63 20 2d |tions ab|out rc -|
|00000320| 2d 20 61 20 63 6c 65 61 | 6e 2c 0a 20 20 20 20 20 |- a clea|n,. |
|00000330| 20 20 20 20 70 6f 72 74 | 61 62 6c 65 2c 20 61 6e | port|able, an|
|00000340| 64 20 66 72 65 65 6c 79 | 2d 61 76 61 69 6c 61 62 |d freely|-availab|
|00000350| 6c 65 20 73 68 65 6c 6c | 20 66 6f 72 20 55 4e 49 |le shell| for UNI|
|00000360| 58 20 73 79 73 74 65 6d | 73 2e 0a 4f 72 69 67 69 |X system|s..Origi|
|00000370| 6e 61 74 6f 72 3a 20 61 | 6c 61 6e 40 6f 6c 64 70 |nator: a|lan@oldp|
|00000380| 2e 61 73 74 72 6f 2e 77 | 69 73 63 2e 65 64 75 0a |.astro.w|isc.edu.|
|00000390| 58 72 65 66 3a 20 75 6e | 69 2d 72 65 67 65 6e 73 |Xref: un|i-regens|
|000003a0| 62 75 72 67 2e 64 65 20 | 63 6f 6d 70 2e 75 6e 69 |burg.de |comp.uni|
|000003b0| 78 2e 73 68 65 6c 6c 3a | 38 31 37 31 20 63 6f 6d |x.shell:|8171 com|
|000003c0| 70 2e 61 6e 73 77 65 72 | 73 3a 35 32 34 30 20 6e |p.answer|s:5240 n|
|000003d0| 65 77 73 2e 61 6e 73 77 | 65 72 73 3a 31 35 39 37 |ews.answ|ers:1597|
|000003e0| 34 0a 0a 41 72 63 68 69 | 76 65 2d 6e 61 6d 65 3a |4..Archi|ve-name:|
|000003f0| 20 75 6e 69 78 2d 66 61 | 71 2f 73 68 65 6c 6c 2f | unix-fa|q/shell/|
|00000400| 72 63 0a 43 6f 6d 70 2d | 75 6e 69 78 2d 73 68 65 |rc.Comp-|unix-she|
|00000410| 6c 6c 2d 61 72 63 68 69 | 76 65 2d 6e 61 6d 65 3a |ll-archi|ve-name:|
|00000420| 20 72 63 2d 46 41 51 0a | 56 65 72 73 69 6f 6e 3a | rc-FAQ.|Version:|
|00000430| 20 32 2e 31 36 0a 4c 61 | 73 74 2d 6d 6f 64 69 66 | 2.16.La|st-modif|
|00000440| 69 65 64 3a 20 30 38 20 | 41 70 72 20 31 39 39 34 |ied: 08 |Apr 1994|
|00000450| 0a 0a 54 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 20 |..This d|ocument |
|00000460| 61 74 74 65 6d 70 74 73 | 20 74 6f 20 61 6e 73 77 |attempts| to answ|
|00000470| 65 72 20 73 6f 6d 65 20 | 46 72 65 71 75 65 6e 74 |er some |Frequent|
|00000480| 6c 79 20 41 73 6b 65 64 | 20 51 75 65 73 74 69 6f |ly Asked| Questio|
|00000490| 6e 73 20 61 62 6f 75 74 | 0a 72 63 2c 20 61 20 63 |ns about|.rc, a c|
|000004a0| 6c 65 61 6e 2c 20 70 6f | 72 74 61 62 6c 65 2c 20 |lean, po|rtable, |
|000004b0| 61 6e 64 20 66 72 65 65 | 6c 79 2d 61 76 61 69 6c |and free|ly-avail|
|000004c0| 61 62 6c 65 20 73 68 65 | 6c 6c 20 66 6f 72 20 55 |able she|ll for U|
|000004d0| 4e 49 58 20 73 79 73 74 | 65 6d 73 20 28 73 65 65 |NIX syst|ems (see|
|000004e0| 0a 31 2e 31 20 66 6f 72 | 20 61 20 76 65 72 79 20 |.1.1 for| a very |
|000004f0| 62 72 69 65 66 20 6f 76 | 65 72 76 69 65 77 20 6f |brief ov|erview o|
|00000500| 66 20 72 63 29 2e 20 20 | 49 74 20 69 6e 20 6e 6f |f rc). |It in no|
|00000510| 20 77 61 79 20 72 65 70 | 6c 61 63 65 73 20 65 69 | way rep|laces ei|
|00000520| 74 68 65 72 20 74 68 65 | 0a 66 6f 72 6d 61 6c 20 |ther the|.formal |
|00000530| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 66 6f |document|ation fo|
|00000540| 72 20 72 63 20 28 73 65 | 65 20 31 2e 32 29 20 6f |r rc (se|e 1.2) o|
|00000550| 72 20 74 68 65 20 6d 61 | 69 6c 69 6e 67 20 6c 69 |r the ma|iling li|
|00000560| 73 74 20 61 72 63 68 69 | 76 65 73 20 28 73 65 65 |st archi|ves (see|
|00000570| 0a 32 2e 32 29 2e 0a 0a | 54 68 69 73 20 64 6f 63 |.2.2)...|This doc|
|00000580| 75 6d 65 6e 74 20 64 72 | 61 77 73 20 68 65 61 76 |ument dr|aws heav|
|00000590| 69 6c 79 20 6f 6e 20 74 | 68 65 20 63 6f 6c 6c 65 |ily on t|he colle|
|000005a0| 63 74 69 76 65 20 77 69 | 73 64 6f 6d 20 6f 66 20 |ctive wi|sdom of |
|000005b0| 74 68 65 20 72 63 20 6d | 61 69 6c 69 6e 67 0a 6c |the rc m|ailing.l|
|000005c0| 69 73 74 3b 20 74 68 65 | 20 71 75 61 6c 69 74 79 |ist; the| quality|
|000005d0| 20 6f 66 20 74 68 65 20 | 63 6f 72 72 65 73 70 6f | of the |correspo|
|000005e0| 6e 64 65 6e 63 65 20 69 | 73 20 73 75 63 68 20 74 |ndence i|s such t|
|000005f0| 68 61 74 20 6f 66 74 65 | 6e 20 61 6c 6c 20 74 68 |hat ofte|n all th|
|00000600| 61 74 20 77 61 73 0a 72 | 65 71 75 69 72 65 64 20 |at was.r|equired |
|00000610| 77 61 73 20 61 20 73 75 | 6d 6d 61 72 79 20 6f 66 |was a su|mmary of|
|00000620| 20 6f 6e 65 20 6f 72 20 | 74 77 6f 20 6d 65 73 73 | one or |two mess|
|00000630| 61 67 65 73 2e 20 20 54 | 68 65 20 72 63 20 6d 61 |ages. T|he rc ma|
|00000640| 69 6c 69 6e 67 20 6c 69 | 73 74 0a 61 72 63 68 69 |iling li|st.archi|
|00000650| 76 65 20 69 73 20 72 65 | 63 6f 6d 6d 65 6e 64 20 |ve is re|commend |
|00000660| 72 65 61 64 69 6e 67 20 | 66 6f 72 20 6e 65 77 63 |reading |for newc|
|00000670| 6f 6d 65 72 73 20 74 6f | 20 72 63 20 28 73 65 65 |omers to| rc (see|
|00000680| 20 32 2e 32 29 2e 0a 43 | 6f 6e 74 72 69 62 75 74 | 2.2)..C|ontribut|
|00000690| 6f 72 73 20 61 72 65 20 | 61 63 6b 6e 6f 77 6c 65 |ors are |acknowle|
|000006a0| 64 67 65 64 20 61 74 20 | 74 68 65 20 65 6e 64 20 |dged at |the end |
|000006b0| 6f 66 20 74 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |of this |document|
|000006c0| 2e 0a 0a 43 6f 72 72 65 | 63 74 69 6f 6e 73 2c 20 |...Corre|ctions, |
|000006d0| 63 6f 6d 6d 65 6e 74 73 | 2c 20 61 6e 64 20 73 75 |comments|, and su|
|000006e0| 67 67 65 73 74 69 6f 6e | 73 20 63 6f 6e 63 65 72 |ggestion|s concer|
|000006f0| 6e 69 6e 67 20 74 68 69 | 73 20 64 6f 63 75 6d 65 |ning thi|s docume|
|00000700| 6e 74 20 61 72 65 0a 77 | 65 6c 63 6f 6d 65 20 28 |nt are.w|elcome (|
|00000710| 73 65 65 20 33 2e 32 29 | 2e 0a 0a 4e 4f 54 45 3a |see 3.2)|...NOTE:|
|00000720| 20 4e 65 69 74 68 65 72 | 20 74 68 65 20 65 64 69 | Neither| the edi|
|00000730| 74 6f 72 20 6e 6f 72 20 | 61 6e 79 20 6f 66 20 74 |tor nor |any of t|
|00000740| 68 65 20 63 6f 6e 74 72 | 69 62 75 74 6f 72 73 20 |he contr|ibutors |
|00000750| 74 6f 20 74 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |to this |document|
|00000760| 0a 61 72 65 20 72 65 73 | 70 6f 6e 73 69 62 6c 65 |.are res|ponsible|
|00000770| 20 66 6f 72 20 61 6e 79 | 20 63 6f 6e 73 65 71 75 | for any| consequ|
|00000780| 65 6e 63 65 73 20 72 65 | 73 75 6c 74 69 6e 67 20 |ences re|sulting |
|00000790| 66 72 6f 6d 20 74 68 65 | 20 61 64 76 69 63 65 20 |from the| advice |
|000007a0| 69 6e 20 74 68 69 73 0a | 64 6f 63 75 6d 65 6e 74 |in this.|document|
|000007b0| 2e 0a 0a 54 61 62 6c 65 | 20 6f 66 20 43 6f 6e 74 |...Table| of Cont|
|000007c0| 65 6e 74 73 0a 0a 31 2e | 20 20 20 20 20 20 49 6d |ents..1.| Im|
|000007d0| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 73 20 6f 66 |plementa|tions of|
|000007e0| 20 72 63 0a 31 2e 31 20 | 20 20 20 20 57 68 61 74 | rc.1.1 | What|
|000007f0| 20 69 73 20 72 63 3f 0a | 31 2e 32 20 20 20 20 20 | is rc?.|1.2 |
|00000800| 57 68 65 72 65 20 69 73 | 20 72 63 20 64 6f 63 75 |Where is| rc docu|
|00000810| 6d 65 6e 74 65 64 3f 0a | 31 2e 33 20 20 20 20 20 |mented?.|1.3 |
|00000820| 48 6f 77 20 64 6f 20 49 | 20 6f 62 74 61 69 6e 20 |How do I| obtain |
|00000830| 72 63 3f 0a 31 2e 34 20 | 20 20 20 20 41 72 65 20 |rc?.1.4 | Are |
|00000840| 74 68 65 72 65 20 61 6e | 79 20 70 61 74 63 68 65 |there an|y patche|
|00000850| 73 20 74 6f 20 72 63 3f | 0a 31 2e 35 20 20 20 20 |s to rc?|.1.5 |
|00000860| 20 43 61 6e 20 49 20 63 | 6f 6d 70 69 6c 65 20 72 | Can I c|ompile r|
|00000870| 63 20 6f 6e 20 61 20 2e | 2e 2e 20 6d 61 63 68 69 |c on a .|.. machi|
|00000880| 6e 65 20 77 69 74 68 20 | 2e 2e 2e 20 6f 70 65 72 |ne with |... oper|
|00000890| 61 74 69 6e 67 20 73 79 | 73 74 65 6d 20 61 6e 64 |ating sy|stem and|
|000008a0| 0a 20 20 20 20 20 20 20 | 20 2e 2e 2e 20 63 6f 6d |. | ... com|
|000008b0| 70 69 6c 65 72 3f 0a 31 | 2e 36 20 20 20 20 20 53 |piler?.1|.6 S|
|000008c0| 68 6f 75 6c 64 20 72 63 | 20 62 65 20 64 79 6e 61 |hould rc| be dyna|
|000008d0| 6d 69 63 61 6c 6c 79 20 | 6f 72 20 73 74 61 74 69 |mically |or stati|
|000008e0| 63 61 6c 6c 79 20 6c 69 | 6e 6b 65 64 3f 0a 31 2e |cally li|nked?.1.|
|000008f0| 37 20 20 20 20 20 54 6f | 20 77 68 6f 6d 20 64 6f |7 To| whom do|
|00000900| 20 49 20 72 65 70 6f 72 | 74 20 62 75 67 73 3f 0a | I repor|t bugs?.|
|00000910| 31 2e 38 20 20 20 20 20 | 44 6f 65 73 20 61 6e 79 |1.8 |Does any|
|00000920| 6f 6e 65 20 68 61 76 65 | 20 61 6e 20 69 6d 70 6c |one have| an impl|
|00000930| 65 6d 65 6e 74 61 74 69 | 6f 6e 20 6f 66 20 2f 64 |ementati|on of /d|
|00000940| 65 76 2f 66 64 20 66 6f | 72 20 6d 79 20 55 4e 49 |ev/fd fo|r my UNI|
|00000950| 58 3f 0a 0a 32 2e 20 20 | 20 20 20 20 54 68 65 20 |X?..2. | The |
|00000960| 72 63 20 6d 61 69 6c 69 | 6e 67 20 6c 69 73 74 0a |rc maili|ng list.|
|00000970| 32 2e 31 20 20 20 20 20 | 48 6f 77 20 64 6f 20 49 |2.1 |How do I|
|00000980| 20 73 75 62 73 63 72 69 | 62 65 20 74 6f 20 74 68 | subscri|be to th|
|00000990| 65 20 72 63 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 |e rc mai|ling lis|
|000009a0| 74 3f 0a 32 2e 32 20 20 | 20 20 20 48 6f 77 20 64 |t?.2.2 | How d|
|000009b0| 6f 20 49 20 6f 62 74 61 | 69 6e 20 74 68 65 20 72 |o I obta|in the r|
|000009c0| 63 20 6d 61 69 6c 69 6e | 67 20 6c 69 73 74 20 61 |c mailin|g list a|
|000009d0| 72 63 68 69 76 65 3f 0a | 0a 33 2e 20 20 20 20 20 |rchive?.|.3. |
|000009e0| 20 54 68 65 20 72 63 20 | 46 41 51 20 6c 69 73 74 | The rc |FAQ list|
|000009f0| 0a 33 2e 31 20 20 20 20 | 20 48 6f 77 20 64 6f 20 |.3.1 | How do |
|00000a00| 49 20 6f 62 74 61 69 6e | 20 74 68 65 20 63 75 72 |I obtain| the cur|
|00000a10| 72 65 6e 74 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |rent ver|sion of |
|00000a20| 74 68 65 20 72 63 20 46 | 41 51 20 6c 69 73 74 3f |the rc F|AQ list?|
|00000a30| 0a 33 2e 32 20 20 20 20 | 20 54 6f 20 77 68 6f 6d |.3.2 | To whom|
|00000a40| 20 64 6f 20 49 20 6d 61 | 6b 65 20 73 75 67 67 65 | do I ma|ke sugge|
|00000a50| 73 74 69 6f 6e 73 20 61 | 62 6f 75 74 20 74 68 65 |stions a|bout the|
|00000a60| 20 72 63 20 46 41 51 20 | 6c 69 73 74 3f 0a 0a 34 | rc FAQ |list?..4|
|00000a70| 2e 20 20 20 20 20 20 44 | 6f 65 73 20 72 63 20 68 |. D|oes rc h|
|00000a80| 61 76 65 20 2e 2e 2e 20 | 3f 0a 34 2e 31 20 20 20 |ave ... |?.4.1 |
|00000a90| 20 20 44 6f 65 73 20 72 | 63 20 68 61 76 65 20 6a | Does r|c have j|
|00000aa0| 6f 62 20 63 6f 6e 74 72 | 6f 6c 3f 0a 34 2e 32 20 |ob contr|ol?.4.2 |
|00000ab0| 20 20 20 20 44 6f 65 73 | 20 72 63 20 68 61 76 65 | Does| rc have|
|00000ac0| 20 63 6f 6d 6d 61 6e 64 | 2d 6c 69 6e 65 20 65 64 | command|-line ed|
|00000ad0| 69 74 69 6e 67 3f 0a 34 | 2e 33 20 20 20 20 20 44 |iting?.4|.3 D|
|00000ae0| 6f 65 73 20 72 63 20 68 | 61 76 65 20 61 20 68 69 |oes rc h|ave a hi|
|00000af0| 73 74 6f 72 79 20 6d 65 | 63 68 61 6e 69 73 6d 3f |story me|chanism?|
|00000b00| 0a 34 2e 34 20 20 20 20 | 20 44 6f 65 73 20 72 63 |.4.4 | Does rc|
|00000b10| 20 68 61 76 65 20 66 69 | 6c 65 20 6e 61 6d 65 20 | have fi|le name |
|00000b20| 63 6f 6d 70 6c 65 74 69 | 6f 6e 3f 0a 34 2e 35 20 |completi|on?.4.5 |
|00000b30| 20 20 20 20 44 6f 65 73 | 20 72 63 20 68 61 76 65 | Does| rc have|
|00000b40| 20 68 6f 6d 65 20 64 69 | 72 65 63 74 6f 72 79 20 | home di|rectory |
|00000b50| 65 78 70 61 6e 73 69 6f | 6e 3f 0a 34 2e 36 20 20 |expansio|n?.4.6 |
|00000b60| 20 20 20 44 6f 65 73 20 | 72 63 20 63 68 65 63 6b | Does |rc check|
|00000b70| 20 66 6f 72 20 6e 65 77 | 20 6d 61 69 6c 3f 0a 34 | for new| mail?.4|
|00000b80| 2e 37 20 20 20 20 20 44 | 6f 65 73 20 72 63 20 68 |.7 D|oes rc h|
|00000b90| 61 76 65 20 68 69 65 72 | 61 72 63 68 69 63 61 6c |ave hier|archical|
|00000ba0| 20 6c 69 73 74 73 3f 0a | 34 2e 38 20 20 20 20 20 | lists?.|4.8 |
|00000bb0| 44 6f 65 73 20 72 63 20 | 68 61 76 65 20 63 61 72 |Does rc |have car|
|00000bc0| 74 65 73 69 61 6e 20 70 | 72 6f 64 75 63 74 73 3f |tesian p|roducts?|
|00000bd0| 0a 34 2e 39 20 20 20 20 | 20 44 6f 65 73 20 72 63 |.4.9 | Does rc|
|00000be0| 20 63 61 63 68 65 20 74 | 68 65 20 6c 6f 63 61 74 | cache t|he locat|
|00000bf0| 69 6f 6e 20 6f 66 20 65 | 78 65 63 75 74 61 62 6c |ion of e|xecutabl|
|00000c00| 65 73 20 69 6e 20 74 68 | 65 20 70 61 74 68 3f 0a |es in th|e path?.|
|00000c10| 34 2e 31 30 20 20 20 20 | 44 6f 65 73 20 72 63 20 |4.10 |Does rc |
|00000c20| 68 61 76 65 20 43 2d 73 | 74 79 6c 65 20 5c 20 65 |have C-s|tyle \ e|
|00000c30| 73 63 61 70 65 73 3f 0a | 34 2e 31 31 20 20 20 20 |scapes?.|4.11 |
|00000c40| 44 6f 65 73 20 72 63 20 | 68 61 76 65 20 2e 2e 2e |Does rc |have ...|
|00000c50| 20 62 75 69 6c 74 20 69 | 6e 3f 0a 34 2e 31 32 20 | built i|n?.4.12 |
|00000c60| 20 20 20 44 6f 65 73 20 | 72 63 20 68 61 76 65 20 | Does |rc have |
|00000c70| 65 63 68 6f 20 62 75 69 | 6c 74 20 69 6e 3f 0a 34 |echo bui|lt in?.4|
|00000c80| 2e 31 33 20 20 20 20 44 | 6f 65 73 20 72 63 20 68 |.13 D|oes rc h|
|00000c90| 61 76 65 20 74 65 73 74 | 20 62 75 69 6c 74 20 69 |ave test| built i|
|00000ca0| 6e 3f 0a 34 2e 31 34 20 | 20 20 20 44 6f 65 73 20 |n?.4.14 | Does |
|00000cb0| 72 63 20 68 61 76 65 20 | 74 72 75 65 2c 20 66 61 |rc have |true, fa|
|00000cc0| 6c 73 65 2c 20 61 6e 64 | 20 60 3a 27 20 62 75 69 |lse, and| `:' bui|
|00000cd0| 6c 74 20 69 6e 3f 0a 0a | 35 2e 20 20 20 20 20 20 |lt in?..|5. |
|00000ce0| 55 73 69 6e 67 20 72 63 | 20 61 73 20 61 20 6c 6f |Using rc| as a lo|
|00000cf0| 67 69 6e 20 73 68 65 6c | 6c 0a 35 2e 31 20 20 20 |gin shel|l.5.1 |
|00000d00| 20 20 48 6f 77 20 64 6f | 20 49 20 6d 61 6b 65 20 | How do| I make |
|00000d10| 72 63 20 6d 79 20 6c 6f | 67 69 6e 20 73 68 65 6c |rc my lo|gin shel|
|00000d20| 6c 3f 0a 35 2e 32 20 20 | 20 20 20 48 6f 77 20 64 |l?.5.2 | How d|
|00000d30| 6f 20 49 20 75 73 65 20 | 72 63 20 69 6e 20 61 20 |o I use |rc in a |
|00000d40| 68 65 74 65 72 6f 67 65 | 6e 65 6f 75 73 20 63 6c |heteroge|neous cl|
|00000d50| 75 73 74 65 72 3f 0a 35 | 2e 33 20 20 20 20 20 57 |uster?.5|.3 W|
|00000d60| 68 61 74 20 70 72 6f 62 | 6c 65 6d 73 20 6f 63 63 |hat prob|lems occ|
|00000d70| 75 72 20 77 69 74 68 20 | 72 63 20 6f 6e 20 41 70 |ur with |rc on Ap|
|00000d80| 6f 6c 6c 6f 73 3f 0a 35 | 2e 34 20 20 20 20 20 57 |ollos?.5|.4 W|
|00000d90| 68 61 74 20 70 72 6f 62 | 6c 65 6d 73 20 6f 63 63 |hat prob|lems occ|
|00000da0| 75 72 20 77 69 74 68 20 | 72 63 20 6f 6e 20 53 59 |ur with |rc on SY|
|00000db0| 53 56 2d 64 65 72 69 76 | 65 64 20 73 79 73 74 65 |SV-deriv|ed syste|
|00000dc0| 6d 73 3f 0a 35 2e 35 20 | 20 20 20 20 57 68 61 74 |ms?.5.5 | What|
|00000dd0| 20 70 72 6f 62 6c 65 6d | 73 20 6f 63 63 75 72 20 | problem|s occur |
|00000de0| 77 69 74 68 20 72 63 20 | 6f 6e 20 4e 65 58 54 73 |with rc |on NeXTs|
|00000df0| 3f 0a 35 2e 36 20 20 20 | 20 20 48 6f 77 20 64 6f |?.5.6 | How do|
|00000e00| 20 49 20 6b 65 65 70 20 | 64 6f 77 6e 20 74 68 65 | I keep |down the|
|00000e10| 20 73 69 7a 65 20 6f 66 | 20 6d 79 20 2e 72 63 72 | size of| my .rcr|
|00000e20| 63 20 66 69 6c 65 3f 0a | 35 2e 37 20 20 20 20 20 |c file?.|5.7 |
|00000e30| 48 6f 77 20 64 6f 20 49 | 20 73 70 65 65 64 20 75 |How do I| speed u|
|00000e40| 70 20 74 68 65 20 65 78 | 65 63 75 74 69 6f 6e 20 |p the ex|ecution |
|00000e50| 6f 66 20 6d 79 20 2e 72 | 63 72 63 20 66 69 6c 65 |of my .r|crc file|
|00000e60| 3f 0a 0a 36 2e 20 20 20 | 20 20 20 49 6e 74 65 72 |?..6. | Inter|
|00000e70| 61 63 74 69 6f 6e 73 20 | 62 65 74 77 65 65 6e 20 |actions |between |
|00000e80| 72 63 20 61 6e 64 20 74 | 68 65 20 72 65 73 74 20 |rc and t|he rest |
|00000e90| 6f 66 20 55 4e 49 58 0a | 36 2e 31 20 20 20 20 20 |of UNIX.|6.1 |
|00000ea0| 48 6f 77 20 64 6f 20 49 | 20 67 65 74 20 65 61 63 |How do I| get eac|
|00000eb0| 68 20 6e 65 77 20 69 6e | 74 65 72 61 63 74 69 76 |h new in|teractiv|
|00000ec0| 65 20 72 63 20 74 6f 20 | 64 6f 20 2e 2e 2e 3f 0a |e rc to |do ...?.|
|00000ed0| 36 2e 32 20 20 20 20 20 | 48 6f 77 20 64 6f 20 49 |6.2 |How do I|
|00000ee0| 20 67 65 74 20 72 63 20 | 74 6f 20 64 6f 20 2e 2e | get rc |to do ..|
|00000ef0| 2e 20 69 6e 20 65 61 63 | 68 20 6e 65 77 20 78 74 |. in eac|h new xt|
|00000f00| 65 72 6d 3f 0a 36 2e 33 | 20 20 20 20 20 48 6f 77 |erm?.6.3| How|
|00000f10| 20 64 6f 20 49 20 67 65 | 74 20 72 63 20 74 6f 20 | do I ge|t rc to |
|00000f20| 72 65 61 64 20 2e 72 63 | 72 63 20 77 68 65 6e 20 |read .rc|rc when |
|00000f30| 49 20 75 73 65 20 72 73 | 68 3f 0a 36 2e 34 20 20 |I use rs|h?.6.4 |
|00000f40| 20 20 20 48 6f 77 20 64 | 6f 20 49 20 67 65 74 20 | How d|o I get |
|00000f50| 61 74 20 6f 72 20 62 61 | 74 63 68 20 74 6f 20 72 |at or ba|tch to r|
|00000f60| 75 6e 20 61 6e 20 72 63 | 20 73 63 72 69 70 74 3f |un an rc| script?|
|00000f70| 0a 0a 37 2e 20 20 20 20 | 20 20 50 72 6f 67 72 61 |..7. | Progra|
|00000f80| 6d 6d 69 6e 67 20 69 6e | 20 72 63 0a 37 2e 31 20 |mming in| rc.7.1 |
|00000f90| 20 20 20 20 57 68 61 74 | 20 6d 61 6b 65 73 20 72 | What| makes r|
|00000fa0| 63 20 73 75 63 68 20 61 | 20 67 6f 6f 64 20 73 63 |c such a| good sc|
|00000fb0| 72 69 70 74 69 6e 67 20 | 6c 61 6e 67 75 61 67 65 |ripting |language|
|00000fc0| 3f 0a 37 2e 32 20 20 20 | 20 20 57 68 61 74 20 61 |?.7.2 | What a|
|00000fd0| 72 65 20 74 68 65 20 74 | 72 61 64 65 2d 6f 66 66 |re the t|rade-off|
|00000fe0| 73 20 62 65 74 77 65 65 | 6e 20 66 75 6e 63 74 69 |s betwee|n functi|
|00000ff0| 6f 6e 73 20 61 6e 64 20 | 73 63 72 69 70 74 73 3f |ons and |scripts?|
|00001000| 0a 37 2e 33 20 20 20 20 | 20 57 68 61 74 20 63 61 |.7.3 | What ca|
|00001010| 6e 20 49 20 64 6f 20 69 | 66 20 49 20 68 61 76 65 |n I do i|f I have|
|00001020| 20 64 65 66 69 63 69 65 | 6e 74 20 73 65 64 2c 20 | deficie|nt sed, |
|00001030| 61 77 6b 2c 20 74 65 73 | 74 2c 20 2e 2e 2e 20 3f |awk, tes|t, ... ?|
|00001040| 0a 37 2e 34 20 20 20 20 | 20 57 68 65 72 65 20 64 |.7.4 | Where d|
|00001050| 6f 20 49 20 6f 62 74 61 | 69 6e 20 74 68 65 20 47 |o I obta|in the G|
|00001060| 4e 55 20 74 6f 6f 6c 73 | 20 61 6e 64 20 6f 74 68 |NU tools| and oth|
|00001070| 65 72 20 73 6f 66 74 77 | 61 72 65 3f 0a 37 2e 35 |er softw|are?.7.5|
|00001080| 20 20 20 20 20 48 6f 77 | 20 64 6f 20 49 20 70 65 | How| do I pe|
|00001090| 72 66 6f 72 6d 20 61 72 | 69 74 68 6d 65 74 69 63 |rform ar|ithmetic|
|000010a0| 20 69 6e 20 72 63 3f 0a | 37 2e 36 20 20 20 20 20 | in rc?.|7.6 |
|000010b0| 48 6f 77 20 64 6f 20 49 | 20 66 69 6e 64 20 74 68 |How do I| find th|
|000010c0| 65 20 66 69 72 73 74 20 | 6f 63 63 75 72 72 65 6e |e first |occurren|
|000010d0| 63 65 20 6f 66 20 61 6e | 20 65 6c 65 6d 65 6e 74 |ce of an| element|
|000010e0| 20 69 6e 20 61 20 6c 69 | 73 74 3f 0a 37 2e 37 20 | in a li|st?.7.7 |
|000010f0| 20 20 20 20 48 6f 77 20 | 64 6f 20 49 20 75 73 65 | How |do I use|
|00001100| 20 72 61 6e 67 65 73 20 | 69 6e 20 61 72 72 61 79 | ranges |in array|
|00001110| 20 73 75 62 73 63 72 69 | 70 74 73 20 69 6e 20 72 | subscri|pts in r|
|00001120| 63 3f 0a 37 2e 38 20 20 | 20 20 20 48 6f 77 20 64 |c?.7.8 | How d|
|00001130| 6f 20 49 20 70 65 72 66 | 6f 72 6d 20 74 68 65 20 |o I perf|orm the |
|00001140| 65 71 75 69 76 61 6c 65 | 6e 74 20 6f 66 20 72 65 |equivale|nt of re|
|00001150| 61 64 20 69 6e 20 72 63 | 3f 0a 0a 31 2e 20 20 20 |ad in rc|?..1. |
|00001160| 20 20 20 49 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f | Imple|mentatio|
|00001170| 6e 73 20 6f 66 20 72 63 | 0a 0a 31 2e 31 20 20 20 |ns of rc|..1.1 |
|00001180| 20 20 57 68 61 74 20 69 | 73 20 72 63 3f 0a 0a 20 | What i|s rc?.. |
|00001190| 20 20 20 20 20 20 20 72 | 63 20 69 73 20 61 20 73 | r|c is a s|
|000011a0| 68 65 6c 6c 20 64 65 73 | 69 67 6e 65 64 20 62 79 |hell des|igned by|
|000011b0| 20 54 6f 6d 20 44 75 66 | 66 20 6f 66 20 42 65 6c | Tom Duf|f of Bel|
|000011c0| 6c 20 4c 61 62 73 20 74 | 6f 20 72 65 70 6c 61 63 |l Labs t|o replac|
|000011d0| 65 20 74 68 65 0a 20 20 | 20 20 20 20 20 20 76 65 |e the. | ve|
|000011e0| 6e 65 72 61 62 6c 65 20 | 42 6f 75 72 6e 65 20 73 |nerable |Bourne s|
|000011f0| 68 20 69 6e 20 50 6c 61 | 6e 20 39 2e 20 20 28 50 |h in Pla|n 9. (P|
|00001200| 6c 61 6e 20 39 20 69 73 | 20 61 6e 20 65 78 70 65 |lan 9 is| an expe|
|00001210| 72 69 6d 65 6e 74 61 6c | 0a 20 20 20 20 20 20 20 |rimental|. |
|00001220| 20 6f 70 65 72 61 74 69 | 6e 67 20 61 6e 64 20 6e | operati|ng and n|
|00001230| 65 74 77 6f 72 6b 69 6e | 67 20 73 79 73 74 65 6d |etworkin|g system|
|00001240| 20 64 65 76 65 6c 6f 70 | 65 64 20 61 74 20 42 65 | develop|ed at Be|
|00001250| 6c 6c 20 4c 61 62 73 2e | 29 20 20 49 6e 0a 20 20 |ll Labs.|) In. |
|00001260| 20 20 20 20 20 20 61 64 | 64 69 74 69 6f 6e 20 74 | ad|dition t|
|00001270| 6f 20 50 6c 61 6e 20 39 | 2c 20 44 75 66 66 27 73 |o Plan 9|, Duff's|
|00001280| 20 72 63 20 72 75 6e 73 | 20 6f 6e 20 53 75 6e 4f | rc runs| on SunO|
|00001290| 53 20 61 6e 64 20 76 31 | 30 20 55 4e 49 58 2e 20 |S and v1|0 UNIX. |
|000012a0| 20 54 68 65 0a 20 20 20 | 20 20 20 20 20 64 65 73 | The. | des|
|000012b0| 69 67 6e 20 6f 66 20 72 | 63 20 69 73 20 65 78 74 |ign of r|c is ext|
|000012c0| 72 65 6d 65 6c 79 20 63 | 6c 65 61 6e 2c 20 69 6e |remely c|lean, in|
|000012d0| 20 74 68 61 74 20 70 72 | 65 63 69 73 65 6c 79 20 | that pr|ecisely |
|000012e0| 74 68 6f 73 65 0a 20 20 | 20 20 20 20 20 20 66 65 |those. | fe|
|000012f0| 61 74 75 72 65 73 20 6f | 66 20 42 6f 75 72 6e 65 |atures o|f Bourne|
|00001300| 27 73 20 73 68 20 74 68 | 61 74 20 68 61 76 65 20 |'s sh th|at have |
|00001310| 63 61 75 73 65 64 20 70 | 72 6f 62 6c 65 6d 73 20 |caused p|roblems |
|00001320| 6f 76 65 72 20 74 68 65 | 20 79 65 61 72 73 0a 20 |over the| years. |
|00001330| 20 20 20 20 20 20 20 28 | 74 68 65 20 73 6c 69 67 | (|the slig|
|00001340| 68 74 6c 79 20 61 77 6b | 77 61 72 64 20 66 6c 6f |htly awk|ward flo|
|00001350| 77 20 63 6f 6e 74 72 6f | 6c 20 73 79 6e 74 61 78 |w contro|l syntax|
|00001360| 2c 20 74 68 65 20 42 79 | 7a 61 6e 74 69 6e 65 20 |, the By|zantine |
|00001370| 71 75 6f 74 69 6e 67 0a | 20 20 20 20 20 20 20 20 |quoting.| |
|00001380| 72 75 6c 65 73 2c 20 74 | 68 65 20 66 61 69 6c 75 |rules, t|he failu|
|00001390| 72 65 20 74 6f 20 65 78 | 70 6f 72 74 20 61 6c 6c |re to ex|port all|
|000013a0| 20 76 61 72 69 61 62 6c | 65 73 20 69 6e 74 6f 20 | variabl|es into |
|000013b0| 74 68 65 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 29 |the envi|ronment)|
|000013c0| 0a 20 20 20 20 20 20 20 | 20 77 65 72 65 20 72 65 |. | were re|
|000013d0| 77 6f 72 6b 65 64 2c 20 | 61 6e 64 20 74 68 65 20 |worked, |and the |
|000013e0| 74 65 6d 70 74 61 74 69 | 6f 6e 20 74 6f 20 61 64 |temptati|on to ad|
|000013f0| 64 20 73 75 70 65 72 66 | 6c 75 6f 75 73 20 66 65 |d superf|luous fe|
|00001400| 61 74 75 72 65 73 0a 20 | 20 20 20 20 20 20 20 77 |atures. | w|
|00001410| 61 73 20 73 74 72 6f 6e | 67 6c 79 20 72 65 73 69 |as stron|gly resi|
|00001420| 73 74 65 64 2e 0a 0a 20 | 20 20 20 20 20 20 20 42 |sted... | B|
|00001430| 79 72 6f 6e 20 52 61 6b | 69 74 7a 69 73 20 68 61 |yron Rak|itzis ha|
|00001440| 73 20 77 72 69 74 74 65 | 6e 20 61 20 76 65 72 73 |s writte|n a vers|
|00001450| 69 6f 6e 20 6f 66 20 72 | 63 20 74 68 61 74 20 69 |ion of r|c that i|
|00001460| 73 20 70 6f 72 74 61 62 | 6c 65 0a 20 20 20 20 20 |s portab|le. |
|00001470| 20 20 20 62 65 74 77 65 | 65 6e 20 6d 61 6e 79 20 | betwe|en many |
|00001480| 76 65 72 73 69 6f 6e 20 | 6f 6e 20 55 4e 49 58 20 |version |on UNIX |
|00001490| 61 6e 64 20 69 73 20 6c | 61 72 67 65 6c 79 20 63 |and is l|argely c|
|000014a0| 6f 6d 70 61 74 69 62 6c | 65 20 77 69 74 68 0a 20 |ompatibl|e with. |
|000014b0| 20 20 20 20 20 20 20 44 | 75 66 66 27 73 20 64 65 | D|uff's de|
|000014c0| 73 69 67 6e 2e 20 20 52 | 61 6b 69 74 7a 69 73 27 |sign. R|akitzis'|
|000014d0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation |
|000014e0| 68 61 73 20 62 65 65 6e | 20 73 75 63 63 65 73 73 |has been| success|
|000014f0| 66 75 6c 6c 79 0a 20 20 | 20 20 20 20 20 20 75 73 |fully. | us|
|00001500| 65 64 20 6f 6e 20 55 4e | 49 58 20 70 6c 61 74 66 |ed on UN|IX platf|
|00001510| 6f 72 6d 73 20 72 61 6e | 67 69 6e 67 20 66 72 6f |orms ran|ging fro|
|00001520| 6d 20 50 43 73 20 72 75 | 6e 6e 69 6e 67 20 4c 69 |m PCs ru|nning Li|
|00001530| 6e 75 78 20 74 6f 20 43 | 72 61 79 0a 20 20 20 20 |nux to C|ray. |
|00001540| 20 20 20 20 59 2d 4d 50 | 73 20 72 75 6e 6e 69 6e | Y-MP|s runnin|
|00001550| 67 20 55 6e 69 63 6f 73 | 2e 0a 0a 20 20 20 20 20 |g Unicos|... |
|00001560| 20 20 20 4d 6f 73 74 20 | 6f 66 20 74 68 69 73 20 | Most |of this |
|00001570| 64 6f 63 75 6d 65 6e 74 | 20 64 65 61 6c 73 20 77 |document| deals w|
|00001580| 69 74 68 20 69 73 73 75 | 65 73 20 74 68 61 74 20 |ith issu|es that |
|00001590| 68 61 76 65 20 61 72 69 | 73 65 6e 20 66 72 6f 6d |have ari|sen from|
|000015a0| 0a 20 20 20 20 20 20 20 | 20 75 73 65 20 6f 66 20 |. | use of |
|000015b0| 52 61 6b 69 74 7a 69 73 | 27 20 72 63 2c 20 61 6e |Rakitzis|' rc, an|
|000015c0| 64 20 6d 6f 73 74 20 6f | 66 20 74 68 65 20 65 78 |d most o|f the ex|
|000015d0| 61 6d 70 6c 65 20 63 6f | 64 65 20 77 69 6c 6c 20 |ample co|de will |
|000015e0| 66 6f 6c 6c 6f 77 0a 20 | 20 20 20 20 20 20 20 68 |follow. | h|
|000015f0| 69 73 20 6d 69 6e 6f 72 | 20 6d 6f 64 69 66 69 63 |is minor| modific|
|00001600| 61 74 69 6f 6e 73 20 74 | 6f 20 72 63 2e 20 20 48 |ations t|o rc. H|
|00001610| 65 6e 63 65 66 6f 72 74 | 68 2c 20 61 20 70 6c 61 |encefort|h, a pla|
|00001620| 69 6e 20 60 72 63 27 20 | 72 65 66 65 72 73 0a 20 |in `rc' |refers. |
|00001630| 20 20 20 20 20 20 20 74 | 6f 20 52 61 6b 69 74 7a | t|o Rakitz|
|00001640| 69 73 27 20 72 61 74 68 | 65 72 20 74 68 61 6e 20 |is' rath|er than |
|00001650| 44 75 66 66 27 73 20 72 | 63 2e 0a 0a 31 2e 32 20 |Duff's r|c...1.2 |
|00001660| 20 20 20 20 57 68 65 72 | 65 20 69 73 20 72 63 20 | Wher|e is rc |
|00001670| 64 6f 63 75 6d 65 6e 74 | 65 64 3f 0a 0a 20 20 20 |document|ed?.. |
|00001680| 20 20 20 20 20 72 63 20 | 69 73 20 64 6f 63 75 6d | rc |is docum|
|00001690| 65 6e 74 65 64 20 69 6e | 20 69 74 73 20 6d 61 6e |ented in| its man|
|000016a0| 20 70 61 67 65 2c 20 64 | 69 73 74 72 69 62 75 74 | page, d|istribut|
|000016b0| 65 64 20 77 69 74 68 20 | 74 68 65 20 73 6f 75 72 |ed with |the sour|
|000016c0| 63 65 0a 20 20 20 20 20 | 20 20 20 28 73 65 65 20 |ce. | (see |
|000016d0| 31 2e 33 29 2e 0a 0a 20 | 20 20 20 20 20 20 20 54 |1.3)... | T|
|000016e0| 68 65 20 50 6c 61 6e 20 | 39 20 6d 61 6e 75 61 6c |he Plan |9 manual|
|000016f0| 20 70 61 67 65 73 2c 20 | 69 6e 63 6c 75 64 69 6e | pages, |includin|
|00001700| 67 20 74 68 6f 73 65 20 | 6f 6e 20 44 75 66 66 27 |g those |on Duff'|
|00001710| 73 20 72 63 2c 20 61 72 | 65 0a 20 20 20 20 20 20 |s rc, ar|e. |
|00001720| 20 20 61 76 61 69 6c 61 | 62 6c 65 20 61 73 20 72 | availa|ble as r|
|00001730| 65 73 65 61 72 63 68 2e | 61 74 74 2e 63 6f 6d 3a |esearch.|att.com:|
|00001740| 2f 64 69 73 74 2f 70 6c | 61 6e 39 6d 61 6e 2f 6d |/dist/pl|an9man/m|
|00001750| 61 6e 75 61 6c 2e 70 73 | 2e 5a 20 62 79 0a 20 20 |anual.ps|.Z by. |
|00001760| 20 20 20 20 20 20 61 6e | 6f 6e 79 6d 6f 75 73 20 | an|onymous |
|00001770| 46 54 50 2e 20 20 54 68 | 65 20 66 75 6c 6c 20 6d |FTP. Th|e full m|
|00001780| 61 6e 75 61 6c 20 69 73 | 20 61 6c 6d 6f 73 74 20 |anual is| almost |
|00001790| 36 30 30 20 70 61 67 65 | 73 20 6c 6f 6e 67 2c 20 |600 page|s long, |
|000017a0| 62 75 74 0a 20 20 20 20 | 20 20 20 20 74 68 65 20 |but. | the |
|000017b0| 6d 61 6e 75 61 6c 20 70 | 61 67 65 73 20 66 6f 72 |manual p|ages for|
|000017c0| 20 44 75 66 66 27 73 20 | 72 63 20 61 72 65 20 70 | Duff's |rc are p|
|000017d0| 68 79 73 69 63 61 6c 20 | 70 61 67 65 73 20 31 34 |hysical |pages 14|
|000017e0| 32 20 74 6f 20 31 34 37 | 0a 20 20 20 20 20 20 20 |2 to 147|. |
|000017f0| 20 28 6c 6f 67 69 63 61 | 6c 20 70 61 67 65 73 20 | (logica|l pages |
|00001800| 31 31 36 20 74 6f 20 31 | 32 31 29 2e 0a 0a 20 20 |116 to 1|21)... |
|00001810| 20 20 20 20 20 20 41 6e | 20 65 61 72 6c 79 20 76 | An| early v|
|00001820| 65 72 73 69 6f 6e 20 6f | 66 20 44 75 66 66 27 73 |ersion o|f Duff's|
|00001830| 20 72 63 20 69 73 20 64 | 65 73 63 72 69 62 65 64 | rc is d|escribed|
|00001840| 20 69 6e 20 74 68 65 20 | 70 61 70 65 72 20 60 72 | in the |paper `r|
|00001850| 63 20 2d 2d 20 61 0a 20 | 20 20 20 20 20 20 20 53 |c -- a. | S|
|00001860| 68 65 6c 6c 20 66 6f 72 | 20 50 6c 61 6e 20 39 20 |hell for| Plan 9 |
|00001870| 61 6e 64 20 55 4e 49 58 | 20 53 79 73 74 65 6d 73 |and UNIX| Systems|
|00001880| 27 2c 20 77 72 69 74 74 | 65 6e 20 66 6f 72 20 61 |', writt|en for a|
|00001890| 20 55 4b 55 55 47 20 6d | 65 65 74 69 6e 67 2e 0a | UKUUG m|eeting..|
|000018a0| 20 20 20 20 20 20 20 20 | 44 75 66 66 20 68 61 73 | |Duff has|
|000018b0| 20 6b 69 6e 64 6c 79 20 | 61 6c 6c 6f 77 65 64 20 | kindly |allowed |
|000018c0| 74 68 65 20 70 61 70 65 | 72 20 74 6f 20 62 65 20 |the pape|r to be |
|000018d0| 64 69 73 74 72 69 62 75 | 74 65 64 20 62 79 20 61 |distribu|ted by a|
|000018e0| 6e 6f 6e 79 6d 6f 75 73 | 0a 20 20 20 20 20 20 20 |nonymous|. |
|000018f0| 20 46 54 50 20 61 73 20 | 76 69 7a 2e 74 61 6d 75 | FTP as |viz.tamu|
|00001900| 2e 65 64 75 3a 2f 70 75 | 62 2f 72 63 2f 70 6c 61 |.edu:/pu|b/rc/pla|
|00001910| 6e 39 2e 70 73 2e 20 20 | 49 74 20 70 72 6f 76 69 |n9.ps. |It provi|
|00001920| 64 65 73 20 61 6e 20 65 | 78 63 65 6c 6c 65 6e 74 |des an e|xcellent|
|00001930| 0a 20 20 20 20 20 20 20 | 20 69 6e 74 72 6f 64 75 |. | introdu|
|00001940| 63 74 69 6f 6e 20 61 6e | 64 20 74 75 74 6f 72 69 |ction an|d tutori|
|00001950| 61 6c 20 66 6f 72 20 44 | 75 66 66 27 73 20 72 63 |al for D|uff's rc|
|00001960| 2c 20 61 6e 64 20 64 65 | 73 63 72 69 62 65 73 20 |, and de|scribes |
|00001970| 74 68 65 0a 20 20 20 20 | 20 20 20 20 6d 6f 74 69 |the. | moti|
|00001980| 76 61 74 69 6f 6e 73 20 | 66 6f 72 20 74 68 65 20 |vations |for the |
|00001990| 64 69 66 66 65 72 65 6e | 63 65 73 20 62 65 74 77 |differen|ces betw|
|000019a0| 65 65 6e 20 44 75 66 66 | 27 73 20 72 63 20 61 6e |een Duff|'s rc an|
|000019b0| 64 20 42 6f 75 72 6e 65 | 27 73 0a 20 20 20 20 20 |d Bourne|'s. |
|000019c0| 20 20 20 73 68 2e 0a 0a | 20 20 20 20 20 20 20 20 | sh...| |
|000019d0| 57 68 65 6e 20 72 65 61 | 64 69 6e 67 20 44 75 66 |When rea|ding Duf|
|000019e0| 66 27 73 20 70 61 70 65 | 72 20 61 6e 64 20 74 68 |f's pape|r and th|
|000019f0| 65 20 50 6c 61 6e 20 39 | 20 6d 61 6e 75 61 6c 20 |e Plan 9| manual |
|00001a00| 70 61 67 65 73 2c 20 62 | 65 61 72 20 69 6e 0a 20 |pages, b|ear in. |
|00001a10| 20 20 20 20 20 20 20 6d | 69 6e 64 20 74 68 61 74 | m|ind that|
|00001a20| 20 52 61 6b 69 74 7a 69 | 73 27 20 69 6d 70 6c 65 | Rakitzi|s' imple|
|00001a30| 6d 65 6e 74 61 74 69 6f | 6e 20 6f 66 20 72 63 20 |mentatio|n of rc |
|00001a40| 64 69 66 66 65 72 73 20 | 69 6e 20 64 65 74 61 69 |differs |in detai|
|00001a50| 6c 20 66 72 6f 6d 0a 20 | 20 20 20 20 20 20 20 44 |l from. | D|
|00001a60| 75 66 66 27 73 20 28 74 | 68 65 73 65 20 64 69 66 |uff's (t|hese dif|
|00001a70| 66 65 72 65 6e 63 65 73 | 20 61 72 65 20 64 6f 63 |ferences| are doc|
|00001a80| 75 6d 65 6e 74 65 64 20 | 69 6e 20 74 68 65 20 72 |umented |in the r|
|00001a90| 63 20 6d 61 6e 20 70 61 | 67 65 29 2e 0a 0a 20 20 |c man pa|ge)... |
|00001aa0| 20 20 20 20 20 20 41 6e | 6f 74 68 65 72 20 76 61 | An|other va|
|00001ab0| 6c 75 61 62 6c 65 20 73 | 6f 75 72 63 65 20 6f 66 |luable s|ource of|
|00001ac0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|00001ad0| 72 63 20 69 73 20 74 68 | 65 20 72 63 20 6d 61 69 |rc is th|e rc mai|
|00001ae0| 6c 69 6e 67 0a 20 20 20 | 20 20 20 20 20 6c 69 73 |ling. | lis|
|00001af0| 74 20 61 72 63 68 69 76 | 65 20 28 73 65 65 20 32 |t archiv|e (see 2|
|00001b00| 2e 32 29 2e 0a 0a 31 2e | 33 20 20 20 20 20 48 6f |.2)...1.|3 Ho|
|00001b10| 77 20 64 6f 20 49 20 6f | 62 74 61 69 6e 20 72 63 |w do I o|btain rc|
|00001b20| 3f 0a 0a 20 20 20 20 20 | 20 20 20 54 68 65 20 73 |?.. | The s|
|00001b30| 6f 75 72 63 65 73 20 61 | 72 65 20 61 76 61 69 6c |ources a|re avail|
|00001b40| 61 62 6c 65 20 62 79 20 | 61 6e 6f 6e 79 6d 6f 75 |able by |anonymou|
|00001b50| 73 20 46 54 50 20 69 6e | 20 74 68 65 20 64 69 72 |s FTP in| the dir|
|00001b60| 65 63 74 6f 72 79 0a 20 | 20 20 20 20 20 20 20 76 |ectory. | v|
|00001b70| 69 7a 2e 74 61 6d 75 2e | 65 64 75 3a 2f 70 75 62 |iz.tamu.|edu:/pub|
|00001b80| 2f 72 63 2e 20 20 42 65 | 20 73 75 72 65 20 74 6f |/rc. Be| sure to|
|00001b90| 20 67 65 74 20 74 68 65 | 20 6d 6f 73 74 20 72 65 | get the| most re|
|00001ba0| 63 65 6e 74 20 76 65 72 | 73 69 6f 6e 2e 0a 20 20 |cent ver|sion.. |
|00001bb0| 20 20 20 20 20 20 41 74 | 20 74 68 65 20 74 69 6d | At| the tim|
|00001bc0| 65 20 74 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 20 |e this d|ocument |
|00001bd0| 77 61 73 20 6c 61 73 74 | 20 75 70 64 61 74 65 64 |was last| updated|
|00001be0| 2c 20 74 68 65 20 6d 6f | 73 74 20 72 65 63 65 6e |, the mo|st recen|
|00001bf0| 74 0a 20 20 20 20 20 20 | 20 20 76 65 72 73 69 6f |t. | versio|
|00001c00| 6e 20 6f 66 20 72 63 20 | 77 61 73 20 76 31 2e 34 |n of rc |was v1.4|
|00001c10| 20 61 6e 6e 6f 75 6e 63 | 65 64 20 6f 6e 20 32 31 | announc|ed on 21|
|00001c20| 20 4d 61 79 20 31 39 39 | 32 2c 20 61 76 61 69 6c | May 199|2, avail|
|00001c30| 61 62 6c 65 20 61 73 0a | 20 20 20 20 20 20 20 20 |able as.| |
|00001c40| 76 69 7a 2e 74 61 6d 75 | 2e 65 64 75 3a 2f 70 75 |viz.tamu|.edu:/pu|
|00001c50| 62 2f 72 63 2f 72 63 2d | 31 2e 34 2e 74 61 72 2e |b/rc/rc-|1.4.tar.|
|00001c60| 5a 2e 20 20 28 41 20 62 | 65 74 61 20 72 65 6c 65 |Z. (A b|eta rele|
|00001c70| 61 73 65 20 6f 66 20 76 | 31 2e 35 20 69 73 0a 20 |ase of v|1.5 is. |
|00001c80| 20 20 20 20 20 20 20 6f | 6e 20 74 68 65 20 68 6f | o|n the ho|
|00001c90| 72 69 7a 6f 6e 2e 29 0a | 0a 20 20 20 20 20 20 20 |rizon.).|. |
|00001ca0| 20 72 63 20 69 73 20 64 | 69 73 74 72 69 62 75 74 | rc is d|istribut|
|00001cb0| 65 64 20 6f 6e 20 76 65 | 72 79 20 6c 69 62 65 72 |ed on ve|ry liber|
|00001cc0| 61 6c 20 74 65 72 6d 73 | 2c 20 61 6c 74 68 6f 75 |al terms|, althou|
|00001cd0| 67 68 20 69 74 20 68 61 | 73 20 6e 6f 74 0a 20 20 |gh it ha|s not. |
|00001ce0| 20 20 20 20 20 20 62 65 | 65 6e 20 70 6c 61 63 65 | be|en place|
|00001cf0| 64 20 69 6e 20 74 68 65 | 20 70 75 62 6c 69 63 20 |d in the| public |
|00001d00| 64 6f 6d 61 69 6e 20 28 | 73 65 65 20 74 68 65 20 |domain (|see the |
|00001d10| 66 69 6c 65 20 43 4f 50 | 59 52 49 47 48 54 0a 20 |file COP|YRIGHT. |
|00001d20| 20 20 20 20 20 20 20 64 | 69 73 74 72 69 62 75 74 | d|istribut|
|00001d30| 65 64 20 77 69 74 68 20 | 74 68 65 20 73 6f 75 72 |ed with |the sour|
|00001d40| 63 65 73 29 2e 0a 0a 20 | 20 20 20 20 20 20 20 44 |ces)... | D|
|00001d50| 75 66 66 27 73 20 72 63 | 20 63 61 6e 20 62 65 20 |uff's rc| can be |
|00001d60| 6f 62 74 61 69 6e 65 64 | 20 62 79 20 61 63 71 75 |obtained| by acqu|
|00001d70| 69 72 69 6e 67 20 65 69 | 74 68 65 72 20 61 20 50 |iring ei|ther a P|
|00001d80| 6c 61 6e 20 39 20 6f 72 | 20 61 20 76 31 30 0a 20 |lan 9 or| a v10. |
|00001d90| 20 20 20 20 20 20 20 55 | 4e 49 58 20 73 79 73 74 | U|NIX syst|
|00001da0| 65 6d 20 66 72 6f 6d 20 | 42 65 6c 6c 20 4c 61 62 |em from |Bell Lab|
|00001db0| 73 2e 20 20 50 6c 61 6e | 20 39 20 63 61 6e 20 62 |s. Plan| 9 can b|
|00001dc0| 65 20 6c 69 63 65 6e 73 | 65 64 20 62 79 20 61 63 |e licens|ed by ac|
|00001dd0| 61 64 65 6d 69 63 0a 20 | 20 20 20 20 20 20 20 69 |ademic. | i|
|00001de0| 6e 73 74 69 74 75 74 69 | 6f 6e 73 2c 20 77 68 69 |nstituti|ons, whi|
|00001df0| 63 68 20 73 68 6f 75 6c | 64 20 63 6f 6e 74 61 63 |ch shoul|d contac|
|00001e00| 74 3a 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |t:.. | |
|00001e10| 4e 65 65 72 61 20 4b 75 | 63 6b 72 65 6a 61 0a 20 |Neera Ku|ckreja. |
|00001e20| 20 20 20 20 20 20 20 20 | 20 20 20 52 4d 20 32 43 | | RM 2C|
|00001e30| 35 35 37 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |557. | |
|00001e40| 41 54 54 20 42 65 6c 6c | 20 4c 61 62 6f 72 61 74 |ATT Bell| Laborat|
|00001e50| 6f 72 69 65 73 0a 20 20 | 20 20 20 20 20 20 20 20 |ories. | |
|00001e60| 20 20 4d 75 72 72 61 79 | 20 48 69 6c 6c 0a 20 20 | Murray| Hill. |
|00001e70| 20 20 20 20 20 20 20 20 | 20 20 4e 4a 20 30 37 39 | | NJ 079|
|00001e80| 37 34 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 55 |74. | U|
|00001e90| 53 41 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 2b |SA. | +|
|00001ea0| 31 20 39 30 38 20 35 38 | 32 2d 33 38 35 35 0a 20 |1 908 58|2-3855. |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 20 20 6e 65 65 72 61 | | neera|
|00001ec0| 40 72 65 73 65 61 72 63 | 68 2e 61 74 74 2e 63 6f |@researc|h.att.co|
|00001ed0| 6d 0a 0a 31 2e 34 20 20 | 20 20 20 41 72 65 20 74 |m..1.4 | Are t|
|00001ee0| 68 65 72 65 20 61 6e 79 | 20 70 61 74 63 68 65 73 |here any| patches|
|00001ef0| 20 74 6f 20 72 63 3f 0a | 0a 20 20 20 20 20 20 20 | to rc?.|. |
|00001f00| 20 41 6c 74 68 6f 75 67 | 68 20 74 68 65 20 63 75 | Althoug|h the cu|
|00001f10| 72 72 65 6e 74 20 76 65 | 72 73 69 6f 6e 20 6f 66 |rrent ve|rsion of|
|00001f20| 20 72 63 20 69 73 20 72 | 65 6d 61 72 6b 61 62 6c | rc is r|emarkabl|
|00001f30| 79 20 6d 61 74 75 72 65 | 2c 20 61 20 73 6d 61 6c |y mature|, a smal|
|00001f40| 6c 0a 20 20 20 20 20 20 | 20 20 6e 75 6d 62 65 72 |l. | number|
|00001f50| 20 6f 66 20 62 75 67 73 | 20 68 61 76 65 20 62 65 | of bugs| have be|
|00001f60| 65 6e 20 66 6f 75 6e 64 | 20 73 69 6e 63 65 20 69 |en found| since i|
|00001f70| 74 73 20 72 65 6c 65 61 | 73 65 20 61 6e 64 20 70 |ts relea|se and p|
|00001f80| 61 74 63 68 65 73 0a 20 | 20 20 20 20 20 20 20 68 |atches. | h|
|00001f90| 61 76 65 20 62 65 65 6e | 20 70 6f 73 74 65 64 20 |ave been| posted |
|00001fa0| 74 6f 20 74 68 65 20 72 | 63 20 6d 61 69 6c 69 6e |to the r|c mailin|
|00001fb0| 67 20 6c 69 73 74 20 28 | 73 65 65 20 32 2e 32 29 |g list (|see 2.2)|
|00001fc0| 2e 20 20 4f 74 68 65 72 | 0a 20 20 20 20 20 20 20 |. Other|. |
|00001fd0| 20 70 61 74 63 68 65 73 | 20 70 6f 73 74 65 64 20 | patches| posted |
|00001fe0| 74 6f 20 74 68 65 20 6d | 61 69 6c 69 6e 67 20 6c |to the m|ailing l|
|00001ff0| 69 73 74 20 69 6e 63 6c | 75 64 65 20 77 6f 72 6b |ist incl|ude work|
|00002000| 2d 61 72 6f 75 6e 64 73 | 20 66 6f 72 0a 20 20 20 |-arounds| for. |
|00002010| 20 20 20 20 20 62 72 6f | 6b 65 6e 20 63 6f 6d 70 | bro|ken comp|
|00002020| 69 6c 65 72 73 20 6f 72 | 20 6c 69 62 72 61 72 69 |ilers or| librari|
|00002030| 65 73 20 61 6e 64 20 61 | 73 73 6f 72 74 65 64 20 |es and a|ssorted |
|00002040| 66 65 61 74 75 72 65 73 | 2e 0a 0a 20 20 20 20 20 |features|... |
|00002050| 20 20 20 41 6e 20 75 70 | 2d 74 6f 2d 64 61 74 65 | An up|-to-date|
|00002060| 20 73 65 74 20 6f 66 20 | 70 61 74 63 68 65 73 20 | set of |patches |
|00002070| 65 78 74 72 61 63 74 65 | 64 20 66 72 6f 6d 20 74 |extracte|d from t|
|00002080| 68 65 20 6d 61 69 6c 69 | 6e 67 20 6c 69 73 74 0a |he maili|ng list.|
|00002090| 20 20 20 20 20 20 20 20 | 61 72 63 68 69 76 65 2c | |archive,|
|000020a0| 20 74 6f 67 65 74 68 65 | 72 20 77 69 74 68 20 61 | togethe|r with a|
|000020b0| 20 73 63 72 69 70 74 20 | 74 6f 20 61 70 70 6c 79 | script |to apply|
|000020c0| 20 74 68 6f 73 65 20 70 | 61 74 63 68 65 73 2c 20 | those p|atches, |
|000020d0| 69 73 0a 20 20 20 20 20 | 20 20 20 61 76 61 69 6c |is. | avail|
|000020e0| 61 62 6c 65 20 61 73 20 | 6f 6c 64 70 2e 61 73 74 |able as |oldp.ast|
|000020f0| 72 6f 2e 77 69 73 63 2e | 65 64 75 3a 2f 70 75 62 |ro.wisc.|edu:/pub|
|00002100| 2f 72 63 2f 70 61 74 63 | 68 65 73 2e 74 61 72 2e |/rc/patc|hes.tar.|
|00002110| 5a 20 62 79 0a 20 20 20 | 20 20 20 20 20 61 6e 6f |Z by. | ano|
|00002120| 6e 79 6d 6f 75 73 20 46 | 54 50 2e 0a 0a 31 2e 35 |nymous F|TP...1.5|
|00002130| 20 20 20 20 20 43 61 6e | 20 49 20 63 6f 6d 70 69 | Can| I compi|
|00002140| 6c 65 20 72 63 20 6f 6e | 20 61 20 2e 2e 2e 20 6d |le rc on| a ... m|
|00002150| 61 63 68 69 6e 65 20 77 | 69 74 68 20 2e 2e 2e 20 |achine w|ith ... |
|00002160| 6f 70 65 72 61 74 69 6e | 67 20 73 79 73 74 65 6d |operatin|g system|
|00002170| 20 61 6e 64 0a 20 20 20 | 20 20 20 20 20 2e 2e 2e | and. | ...|
|00002180| 20 63 6f 6d 70 69 6c 65 | 72 3f 0a 0a 20 20 20 20 | compile|r?.. |
|00002190| 20 20 20 20 72 63 20 69 | 73 20 77 72 69 74 74 65 | rc i|s writte|
|000021a0| 6e 20 69 6e 20 70 6f 72 | 74 61 62 6c 65 20 41 4e |n in por|table AN|
|000021b0| 53 49 20 43 2c 20 62 75 | 74 20 69 74 20 63 61 6e |SI C, bu|t it can|
|000021c0| 20 62 65 20 63 6f 6d 70 | 69 6c 65 64 20 62 79 20 | be comp|iled by |
|000021d0| 6d 61 6e 79 0a 20 20 20 | 20 20 20 20 20 6f 6c 64 |many. | old|
|000021e0| 65 72 20 43 20 63 6f 6d | 70 69 6c 65 72 73 20 61 |er C com|pilers a|
|000021f0| 66 74 65 72 20 70 61 73 | 73 69 6e 67 20 74 68 65 |fter pas|sing the|
|00002200| 20 73 6f 75 72 63 65 73 | 20 74 68 72 6f 75 67 68 | sources| through|
|00002210| 20 75 6e 70 72 6f 74 6f | 20 28 67 65 74 0a 20 20 | unproto| (get. |
|00002220| 20 20 20 20 20 20 66 74 | 70 2e 77 69 6e 2e 74 75 | ft|p.win.tu|
|00002230| 65 2e 6e 6c 3a 2f 70 75 | 62 2f 75 6e 69 78 2f 75 |e.nl:/pu|b/unix/u|
|00002240| 6e 70 72 6f 74 6f 34 2e | 73 68 61 72 2e 5a 20 62 |nproto4.|shar.Z b|
|00002250| 79 20 61 6e 6f 6e 79 6d | 6f 75 73 20 46 54 50 29 |y anonym|ous FTP)|
|00002260| 2e 0a 0a 20 20 20 20 20 | 20 20 20 49 66 20 79 6f |... | If yo|
|00002270| 75 20 75 73 65 20 67 63 | 63 2c 20 75 73 65 20 76 |u use gc|c, use v|
|00002280| 31 2e 33 39 20 6f 72 20 | 6c 61 74 65 72 2e 0a 0a |1.39 or |later...|
|00002290| 20 20 20 20 20 20 20 20 | 72 63 20 68 61 73 20 62 | |rc has b|
|000022a0| 65 65 6e 20 73 75 63 63 | 65 73 73 66 75 6c 6c 79 |een succ|essfully|
|000022b0| 20 63 6f 6d 70 69 6c 65 | 64 20 6f 6e 20 73 79 73 | compile|d on sys|
|000022c0| 74 65 6d 73 20 77 69 74 | 68 20 74 68 65 20 66 6f |tems wit|h the fo|
|000022d0| 6c 6c 6f 77 69 6e 67 0a | 20 20 20 20 20 20 20 20 |llowing.| |
|000022e0| 63 6f 6d 62 69 6e 61 74 | 69 6f 6e 73 20 6f 66 20 |combinat|ions of |
|000022f0| 61 72 63 68 69 74 65 63 | 74 75 72 65 73 2c 20 6f |architec|tures, o|
|00002300| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 73 |perating| systems|
|00002310| 2c 20 61 6e 64 20 63 6f | 6d 70 69 6c 65 72 73 2c |, and co|mpilers,|
|00002320| 0a 20 20 20 20 20 20 20 | 20 61 6c 74 68 6f 75 67 |. | althoug|
|00002330| 68 20 74 68 69 73 20 6c | 69 73 74 20 69 73 20 70 |h this l|ist is p|
|00002340| 72 6f 62 61 62 6c 79 20 | 6e 6f 74 20 65 78 68 61 |robably |not exha|
|00002350| 75 73 74 69 76 65 3a 0a | 0a 20 20 20 20 20 20 20 |ustive:.|. |
|00002360| 20 20 20 20 20 44 45 43 | 20 56 41 58 20 20 20 20 | DEC| VAX |
|00002370| 20 20 20 20 55 6c 74 72 | 69 78 20 76 33 2e 78 20 | Ultr|ix v3.x |
|00002380| 20 20 20 20 20 20 20 20 | 20 20 20 67 63 63 20 76 | | gcc v|
|00002390| 31 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 44 45 |1. | DE|
|000023a0| 43 20 4d 49 50 53 20 20 | 20 20 20 20 20 55 6c 74 |C MIPS | Ult|
|000023b0| 72 69 78 20 76 34 2e 5b | 32 33 5d 20 20 20 20 20 |rix v4.[|23] |
|000023c0| 20 20 20 20 67 63 63 20 | 76 32 0a 20 20 20 20 20 | gcc |v2. |
|000023d0| 20 20 20 20 20 20 20 44 | 45 43 20 4d 49 50 53 20 | D|EC MIPS |
|000023e0| 20 20 20 20 20 20 55 6c | 74 72 69 78 20 76 34 2e | Ul|trix v4.|
|000023f0| 5b 32 33 5d 20 20 20 20 | 20 20 20 20 20 63 63 20 |[23] | cc |
|00002400| 20 20 20 20 20 20 20 20 | 20 5b 61 5d 0a 20 20 20 | | [a]. |
|00002410| 20 20 20 20 20 20 20 20 | 20 44 45 43 20 41 58 50 | | DEC AXP|
|00002420| 20 20 20 20 20 20 20 20 | 4f 53 46 2f 31 20 76 31 | |OSF/1 v1|
|00002430| 2e 32 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 |.2 | c|
|00002440| 63 20 20 20 20 20 20 20 | 20 20 20 5b 61 5d 5b 62 |c | [a][b|
|00002450| 5d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 44 45 |]. | DE|
|00002460| 43 20 41 58 50 20 20 20 | 20 20 20 20 20 4f 53 46 |C AXP | OSF|
|00002470| 2f 31 20 76 31 2e 32 20 | 20 20 20 20 20 20 20 20 |/1 v1.2 | |
|00002480| 20 20 20 20 63 63 20 2d | 73 74 64 31 20 20 20 20 | cc -|std1 |
|00002490| 5b 62 5d 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |[b].. | |
|000024a0| 20 53 75 6e 20 53 50 41 | 52 43 20 20 20 20 20 20 | Sun SPA|RC |
|000024b0| 53 6f 6c 61 72 69 73 20 | 76 32 20 20 20 20 20 20 |Solaris |v2 |
|000024c0| 20 20 20 20 20 20 20 67 | 63 63 20 76 32 20 20 20 | g|cc v2 |
|000024d0| 20 20 20 5b 62 5d 5b 63 | 5d 0a 20 20 20 20 20 20 | [b][c|]. |
|000024e0| 20 20 20 20 20 20 53 75 | 6e 20 53 50 41 52 43 20 | Su|n SPARC |
|000024f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002500| 20 20 20 20 20 20 20 20 | 20 20 20 20 61 63 63 20 | | acc |
|00002510| 20 20 20 20 20 20 20 20 | 5b 62 5d 5b 63 5d 0a 20 | |[b][c]. |
|00002520| 20 20 20 20 20 20 20 20 | 20 20 20 53 75 6e 20 53 | | Sun S|
|00002530| 50 41 52 43 20 20 20 20 | 20 20 53 75 6e 4f 53 20 |PARC | SunOS |
|00002540| 76 34 2e 31 2e 5b 31 32 | 33 5d 20 20 20 20 20 20 |v4.1.[12|3] |
|00002550| 20 63 63 20 20 20 20 20 | 20 20 20 20 20 5b 61 5d | cc | [a]|
|00002560| 5b 62 5d 5b 63 5d 0a 20 | 20 20 20 20 20 20 20 20 |[b][c]. | |
|00002570| 20 20 20 53 75 6e 20 53 | 50 41 52 43 20 20 20 20 | Sun S|PARC |
|00002580| 20 20 53 75 6e 4f 53 20 | 76 34 2e 31 2e 5b 31 32 | SunOS |v4.1.[12|
|00002590| 33 5d 20 20 20 20 20 20 | 20 67 63 63 20 76 32 20 |3] | gcc v2 |
|000025a0| 20 20 20 20 20 5b 62 5d | 5b 63 5d 0a 20 20 20 20 | [b]|[c]. |
|000025b0| 20 20 20 20 20 20 20 20 | 53 75 6e 20 53 50 41 52 | |Sun SPAR|
|000025c0| 43 20 20 20 20 20 20 42 | 53 44 20 20 20 20 20 20 |C B|SD |
|000025d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025e0| 20 20 20 20 20 20 20 20 | 20 20 5b 62 5d 5b 63 5d | | [b][c]|
|000025f0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 53 75 6e |. | Sun|
|00002600| 20 36 38 4b 20 20 20 20 | 20 20 20 20 53 75 6e 4f | 68K | SunO|
|00002610| 53 20 76 34 2e 31 2e 31 | 20 20 20 20 20 20 20 20 |S v4.1.1| |
|00002620| 20 20 20 67 63 63 20 76 | 32 20 20 20 20 20 20 5b | gcc v|2 [|
|00002630| 62 5d 5b 63 5d 0a 20 20 | 20 20 20 20 20 20 20 20 |b][c]. | |
|00002640| 20 20 53 75 6e 20 36 38 | 4b 20 20 20 20 20 20 20 | Sun 68|K |
|00002650| 20 53 75 6e 4f 53 20 76 | 33 2e 35 20 20 20 20 20 | SunOS v|3.5 |
|00002660| 20 20 20 20 20 20 20 20 | 67 63 63 20 76 31 20 20 | |gcc v1 |
|00002670| 20 20 20 20 5b 62 5d 5b | 63 5d 0a 0a 20 20 20 20 | [b][|c].. |
|00002680| 20 20 20 20 20 20 20 20 | 53 47 49 20 49 72 69 73 | |SGI Iris|
|00002690| 20 20 20 20 20 20 20 49 | 72 69 78 20 76 5b 34 35 | I|rix v[45|
|000026a0| 5d 2e 78 20 20 20 20 20 | 20 20 20 20 20 20 67 63 |].x | gc|
|000026b0| 63 20 76 32 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |c v2.. | |
|000026c0| 20 20 49 42 4d 20 52 53 | 2f 36 30 30 30 20 20 20 | IBM RS|/6000 |
|000026d0| 20 41 49 58 20 76 33 2e | 31 2e 35 20 20 20 20 20 | AIX v3.|1.5 |
|000026e0| 20 20 20 20 20 20 20 20 | 63 63 0a 20 20 20 20 20 | |cc. |
|000026f0| 20 20 20 20 20 20 20 49 | 42 4d 20 52 53 2f 36 30 | I|BM RS/60|
|00002700| 30 30 20 20 20 20 41 49 | 58 20 76 33 2e 32 2e 5b |00 AI|X v3.2.[|
|00002710| 30 31 33 5d 20 20 20 20 | 20 20 20 20 20 63 63 0a |013] | cc.|
|00002720| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 48 50 20 |. | HP |
|00002730| 50 41 2d 52 49 53 43 20 | 20 20 20 20 48 50 2d 55 |PA-RISC | HP-U|
|00002740| 58 20 76 38 2e 30 20 20 | 20 20 20 20 20 20 20 20 |X v8.0 | |
|00002750| 20 20 20 67 63 63 20 76 | 32 20 20 20 20 20 20 5b | gcc v|2 [|
|00002760| 64 5d 5b 65 5d 0a 20 20 | 20 20 20 20 20 20 20 20 |d][e]. | |
|00002770| 20 20 48 50 20 50 41 2d | 52 49 53 43 20 20 20 20 | HP PA-|RISC |
|00002780| 20 48 50 2d 55 58 20 76 | 39 2e 30 20 20 20 20 20 | HP-UX v|9.0 |
|00002790| 20 20 20 20 20 20 20 20 | 67 63 63 20 76 32 20 20 | |gcc v2 |
|000027a0| 20 20 20 20 5b 64 5d 0a | 20 20 20 20 20 20 20 20 | [d].| |
|000027b0| 20 20 20 20 48 50 20 50 | 41 2d 52 49 53 43 20 20 | HP P|A-RISC |
|000027c0| 20 20 20 4f 53 46 2f 31 | 20 76 31 2e 30 2e 32 20 | OSF/1| v1.0.2 |
|000027d0| 20 20 20 20 20 20 20 20 | 20 20 63 63 0a 0a 20 20 | | cc.. |
|000027e0| 20 20 20 20 20 20 20 20 | 20 20 69 33 38 36 2f 69 | | i386/i|
|000027f0| 34 38 36 20 20 20 20 20 | 20 53 43 4f 2d 4f 44 54 |486 | SCO-ODT|
|00002800| 20 53 56 52 33 20 20 20 | 20 20 20 20 20 20 20 20 | SVR3 | |
|00002810| 67 63 63 20 76 32 20 20 | 20 20 20 20 5b 64 5d 5b |gcc v2 | [d][|
|00002820| 65 5d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 69 |e]. | i|
|00002830| 33 38 36 2f 69 34 38 36 | 20 20 20 20 20 20 53 43 |386/i486| SC|
|00002840| 4f 2d 4f 44 54 20 53 56 | 52 33 20 20 20 20 20 20 |O-ODT SV|R3 |
|00002850| 20 20 20 20 20 63 63 20 | 20 20 20 20 20 20 20 20 | cc | |
|00002860| 20 5b 64 5d 5b 65 5d 0a | 20 20 20 20 20 20 20 20 | [d][e].| |
|00002870| 20 20 20 20 69 33 38 36 | 20 20 20 20 20 20 20 20 | i386| |
|00002880| 20 20 20 4d 69 6e 69 78 | 20 76 31 2e 35 20 20 20 | Minix| v1.5 |
|00002890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028a0| 20 20 20 20 20 20 5b 64 | 5d 0a 20 20 20 20 20 20 | [d|]. |
|000028b0| 20 20 20 20 20 20 69 33 | 38 36 2f 69 34 38 36 20 | i3|86/i486 |
|000028c0| 20 20 20 20 20 4e 65 74 | 42 53 44 20 20 20 20 20 | Net|BSD |
|000028d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 67 63 63 20 | | gcc |
|000028e0| 76 5b 31 32 5d 0a 20 20 | 20 20 20 20 20 20 20 20 |v[12]. | |
|000028f0| 20 20 69 33 38 36 2f 69 | 34 38 36 20 20 20 20 20 | i386/i|486 |
|00002900| 20 4c 69 6e 75 78 20 20 | 20 20 20 20 20 20 20 20 | Linux | |
|00002910| 20 20 20 20 20 20 20 20 | 67 63 63 20 76 32 20 20 | |gcc v2 |
|00002920| 20 20 20 20 5b 64 5d 0a | 20 20 20 20 20 20 20 20 | [d].| |
|00002930| 20 20 20 20 69 33 38 36 | 2f 69 34 38 36 20 20 20 | i386|/i486 |
|00002940| 20 20 20 33 38 36 42 53 | 44 20 72 30 2e 30 20 20 | 386BS|D r0.0 |
|00002950| 20 20 20 20 20 20 20 20 | 20 20 67 63 63 20 20 20 | | gcc |
|00002960| 20 20 20 20 20 20 5b 6a | 5d 0a 20 20 20 20 20 20 | [j|]. |
|00002970| 20 20 20 20 20 20 69 33 | 38 36 2f 69 34 38 36 20 | i3|86/i486 |
|00002980| 20 20 20 20 20 53 43 4f | 20 58 65 6e 69 78 20 53 | SCO| Xenix S|
|00002990| 56 52 32 2e 33 78 20 20 | 20 20 20 20 20 20 20 20 |VR2.3x | |
|000029a0| 20 20 20 20 20 20 20 20 | 5b 66 5d 0a 0a 20 20 20 | |[f].. |
|000029b0| 20 20 20 20 20 20 20 20 | 20 4e 65 58 54 20 20 20 | | NeXT |
|000029c0| 20 20 20 20 20 20 20 20 | 4e 65 58 54 20 4f 53 20 | |NeXT OS |
|000029d0| 76 32 2e 78 20 20 20 20 | 20 20 20 20 20 20 20 67 |v2.x | g|
|000029e0| 63 63 20 76 5b 31 32 5d | 20 20 20 5b 67 5d 0a 20 |cc v[12]| [g]. |
|000029f0| 20 20 20 20 20 20 20 20 | 20 20 20 4e 65 58 54 20 | | NeXT |
|00002a00| 20 20 20 20 20 20 20 20 | 20 20 4e 65 58 54 20 4f | | NeXT O|
|00002a10| 53 20 76 33 2e 30 20 20 | 20 20 20 20 20 20 20 20 |S v3.0 | |
|00002a20| 20 67 63 63 20 76 32 20 | 20 20 20 20 20 5b 67 5d | gcc v2 | [g]|
|00002a30| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 41 70 |.. | Ap|
|00002a40| 6f 6c 6c 6f 20 36 38 4b | 20 20 20 20 20 44 6f 6d |ollo 68K| Dom|
|00002a50| 61 69 6e 4f 53 20 76 31 | 30 2e 34 20 28 42 53 44 |ainOS v1|0.4 (BSD|
|00002a60| 29 20 20 20 63 63 20 20 | 20 20 20 20 20 20 20 20 |) cc | |
|00002a70| 5b 68 5d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |[h]. | |
|00002a80| 41 70 6f 6c 6c 6f 20 31 | 30 30 30 30 20 20 20 44 |Apollo 1|0000 D|
|00002a90| 6f 6d 61 69 6e 4f 53 20 | 76 31 30 2e 34 20 28 42 |omainOS |v10.4 (B|
|00002aa0| 53 44 29 20 20 20 63 63 | 20 20 20 20 20 20 20 20 |SD) cc| |
|00002ab0| 20 20 5b 68 5d 0a 0a 20 | 20 20 20 20 20 20 20 20 | [h].. | |
|00002ac0| 20 20 20 53 6f 6e 79 20 | 4d 49 50 53 20 20 20 20 | Sony |MIPS |
|00002ad0| 20 20 4e 45 57 53 2f 4f | 53 20 20 20 20 20 20 20 | NEWS/O|S |
|00002ae0| 20 20 20 20 20 20 20 20 | 20 63 63 20 20 20 20 20 | | cc |
|00002af0| 20 20 20 20 20 5b 61 5d | 0a 20 20 20 20 20 20 20 | [a]|. |
|00002b00| 20 20 20 20 20 53 6f 6e | 79 20 36 38 4b 20 20 20 | Son|y 68K |
|00002b10| 20 20 20 20 4e 45 57 53 | 2f 4f 53 20 76 34 2e 30 | NEWS|/OS v4.0|
|00002b20| 2e 31 20 20 20 20 20 20 | 20 20 20 63 63 20 20 20 |.1 | cc |
|00002b30| 20 20 20 20 20 20 20 5b | 61 5d 0a 0a 20 20 20 20 | [|a].. |
|00002b40| 20 20 20 20 20 20 20 20 | 43 6f 6e 76 65 78 20 43 | |Convex C|
|00002b50| 31 20 20 20 20 20 20 43 | 6f 6e 76 65 78 4f 53 20 |1 C|onvexOS |
|00002b60| 76 31 30 2e 31 20 20 20 | 20 20 20 20 20 20 63 63 |v10.1 | cc|
|00002b70| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 50 79 |.. | Py|
|00002b80| 72 61 6d 69 64 20 39 38 | 31 30 20 20 20 4f 53 78 |ramid 98|10 OSx|
|00002b90| 20 35 2e 31 61 20 28 42 | 53 44 29 20 20 20 20 20 | 5.1a (B|SD) |
|00002ba0| 20 20 20 20 63 63 20 2d | 58 61 20 20 20 20 20 20 | cc -|Xa |
|00002bb0| 5b 69 5d 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |[i].. | |
|00002bc0| 20 43 72 61 79 20 59 2d | 4d 50 20 20 20 20 20 20 | Cray Y-|MP |
|00002bd0| 55 6e 69 63 6f 73 20 36 | 2e 31 2e 37 20 20 20 20 |Unicos 6|.1.7 |
|00002be0| 20 20 20 20 20 20 20 73 | 63 63 20 20 20 20 20 20 | s|cc |
|00002bf0| 20 20 20 5b 65 5d 5b 6a | 5d 0a 0a 20 20 20 20 20 | [e][j|].. |
|00002c00| 20 20 20 20 20 20 20 53 | 65 71 75 65 6e 74 20 20 | S|equent |
|00002c10| 20 20 20 20 20 20 44 79 | 6e 69 78 20 76 33 2e 32 | Dy|nix v3.2|
|00002c20| 2e 30 20 28 42 53 44 29 | 20 20 20 20 20 67 63 63 |.0 (BSD)| gcc|
|00002c30| 20 76 32 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 | v2.. | |
|00002c40| 20 41 70 70 6c 65 20 36 | 38 4b 20 20 20 20 20 20 | Apple 6|8K |
|00002c50| 41 2f 55 58 20 76 33 2e | 30 20 20 20 20 20 20 20 |A/UX v3.|0 |
|00002c60| 20 20 20 20 20 20 20 63 | 63 0a 0a 20 20 20 20 20 | c|c.. |
|00002c70| 20 20 20 20 20 20 20 45 | 6e 63 6f 72 65 20 4d 49 | E|ncore MI|
|00002c80| 50 53 20 20 20 20 55 6d | 61 78 20 76 34 2e 33 20 |PS Um|ax v4.3 |
|00002c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 67 63 63 | | gcc|
|00002ca0| 20 76 32 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 | v2.. | |
|00002cb0| 20 41 63 6f 72 6e 20 41 | 52 4d 20 20 20 20 20 20 | Acorn A|RM |
|00002cc0| 69 58 20 76 31 2e 32 31 | 61 20 20 20 20 20 20 20 |iX v1.21|a |
|00002cd0| 20 20 20 20 20 20 20 63 | 63 0a 0a 20 20 20 20 20 | c|c.. |
|00002ce0| 20 20 20 20 20 20 20 4d | 6f 74 6f 72 6f 6c 61 20 | M|otorola |
|00002cf0| 38 38 4b 20 20 20 53 79 | 73 74 65 6d 20 56 20 52 |88K Sy|stem V R|
|00002d00| 33 32 56 33 20 20 20 20 | 20 20 20 20 20 67 63 63 |32V3 | gcc|
|00002d10| 20 76 32 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | v2. | |
|00002d20| 4d 6f 74 6f 72 6f 6c 61 | 20 38 38 4b 20 20 20 53 |Motorola| 88K S|
|00002d30| 79 73 74 65 6d 20 56 20 | 52 33 32 56 33 20 20 20 |ystem V |R32V3 |
|00002d40| 20 20 20 20 20 20 63 63 | 20 20 20 20 20 20 20 20 | cc| |
|00002d50| 20 20 5b 61 5d 5b 6b 5d | 0a 0a 20 20 20 20 20 20 | [a][k]|.. |
|00002d60| 20 20 4e 6f 74 65 73 3a | 0a 0a 20 20 20 20 20 20 | Notes:|.. |
|00002d70| 20 20 20 20 20 20 5b 61 | 5d 20 53 6f 75 72 63 65 | [a|] Source|
|00002d80| 73 20 70 72 65 2d 70 72 | 6f 63 65 73 73 65 64 20 |s pre-pr|ocessed |
|00002d90| 77 69 74 68 20 75 6e 70 | 72 6f 74 6f 2e 0a 20 20 |with unp|roto.. |
|00002da0| 20 20 20 20 20 20 20 20 | 20 20 5b 62 5d 20 53 65 | | [b] Se|
|00002db0| 65 20 31 2e 36 2e 0a 20 | 20 20 20 20 20 20 20 20 |e 1.6.. | |
|00002dc0| 20 20 20 5b 63 5d 20 53 | 75 6e 27 73 20 79 61 63 | [c] S|un's yac|
|00002dd0| 63 20 68 61 73 20 61 20 | 6d 65 6d 6f 72 79 20 6c |c has a |memory l|
|00002de0| 65 61 6b 20 2d 2d 20 75 | 73 65 20 61 6e 6f 74 68 |eak -- u|se anoth|
|00002df0| 65 72 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |er. | |
|00002e00| 20 20 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f | imple|mentatio|
|00002e10| 6e 20 73 75 63 68 20 61 | 73 20 47 4e 55 20 62 69 |n such a|s GNU bi|
|00002e20| 73 6f 6e 20 28 73 65 65 | 20 37 2e 34 29 2e 0a 20 |son (see| 7.4).. |
|00002e30| 20 20 20 20 20 20 20 20 | 20 20 20 5b 64 5d 20 52 | | [d] R|
|00002e40| 65 71 75 69 72 65 73 20 | 69 6e 74 65 72 76 65 6e |equires |interven|
|00002e50| 74 69 6f 6e 20 62 79 20 | 68 61 6e 64 20 74 6f 20 |tion by |hand to |
|00002e60| 67 65 74 20 6d 6b 73 69 | 67 6e 61 6c 20 74 6f 20 |get mksi|gnal to |
|00002e70| 77 6f 72 6b 2c 0a 20 20 | 20 20 20 20 20 20 20 20 |work,. | |
|00002e80| 20 20 20 20 20 20 62 65 | 63 61 75 73 65 20 6f 66 | be|cause of|
|00002e90| 20 6f 66 20 74 68 65 20 | 6e 6f 6e 2d 73 74 61 6e | of the |non-stan|
|00002ea0| 64 61 72 64 20 73 69 67 | 6e 61 6c 2e 68 20 66 69 |dard sig|nal.h fi|
|00002eb0| 6c 65 2e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |le.. | |
|00002ec0| 5b 65 5d 20 53 65 65 20 | 34 2e 31 33 2e 0a 20 20 |[e] See |4.13.. |
|00002ed0| 20 20 20 20 20 20 20 20 | 20 20 5b 66 5d 20 53 65 | | [f] Se|
|00002ee0| 65 20 35 2e 34 2e 0a 20 | 20 20 20 20 20 20 20 20 |e 5.4.. | |
|00002ef0| 20 20 20 5b 67 5d 20 53 | 65 65 20 35 2e 35 2e 0a | [g] S|ee 5.5..|
|00002f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 5b 68 5d 20 | | [h] |
|00002f10| 53 65 65 20 35 2e 33 0a | 20 20 20 20 20 20 20 20 |See 5.3.| |
|00002f20| 20 20 20 20 5b 69 5d 20 | 54 68 69 73 20 63 6f 6d | [i] |This com|
|00002f30| 70 69 6c 65 72 20 68 61 | 73 20 6e 6f 20 73 74 64 |piler ha|s no std|
|00002f40| 61 72 67 2e 68 2c 20 62 | 75 74 20 76 61 72 61 72 |arg.h, b|ut varar|
|00002f50| 67 2e 68 20 73 75 66 66 | 69 63 65 64 2e 0a 20 20 |g.h suff|iced.. |
|00002f60| 20 20 20 20 20 20 20 20 | 20 20 5b 6a 5d 20 4d 69 | | [j] Mi|
|00002f70| 6e 6f 72 20 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |nor modi|fication|
|00002f80| 73 20 72 65 71 75 69 72 | 65 64 20 74 6f 20 70 72 |s requir|ed to pr|
|00002f90| 6f 74 6f 74 79 70 65 73 | 2e 0a 20 20 20 20 20 20 |ototypes|.. |
|00002fa0| 20 20 20 20 20 20 5b 6b | 5d 20 47 72 65 65 6e 68 | [k|] Greenh|
|00002fb0| 69 6c 6c 73 20 63 63 2c | 20 75 73 65 64 20 77 69 |ills cc,| used wi|
|00002fc0| 74 68 6f 75 74 20 61 6e | 79 20 6f 70 74 69 6d 69 |thout an|y optimi|
|00002fd0| 7a 61 74 69 6f 6e 2e 0a | 0a 31 2e 36 20 20 20 20 |zation..|.1.6 |
|00002fe0| 20 53 68 6f 75 6c 64 20 | 72 63 20 62 65 20 64 79 | Should |rc be dy|
|00002ff0| 6e 61 6d 69 63 61 6c 6c | 79 20 6f 72 20 73 74 61 |namicall|y or sta|
|00003000| 74 69 63 61 6c 6c 79 20 | 6c 69 6e 6b 65 64 3f 0a |tically |linked?.|
|00003010| 0a 20 20 20 20 20 20 20 | 20 41 73 20 66 61 72 20 |. | As far |
|00003020| 61 73 20 6f 6e 65 20 63 | 61 6e 20 67 65 6e 65 72 |as one c|an gener|
|00003030| 61 6c 69 7a 65 2c 20 73 | 74 61 74 69 63 61 6c 6c |alize, s|taticall|
|00003040| 79 20 6c 69 6e 6b 65 64 | 20 65 78 65 63 75 74 61 |y linked| executa|
|00003050| 62 6c 65 73 20 66 6f 72 | 6b 0a 20 20 20 20 20 20 |bles for|k. |
|00003060| 20 20 66 61 73 74 65 72 | 20 74 68 61 6e 20 64 79 | faster| than dy|
|00003070| 6e 61 6d 69 63 61 6c 6c | 79 20 6c 69 6e 6b 65 64 |namicall|y linked|
|00003080| 20 65 78 65 63 75 74 61 | 62 6c 65 73 2e 20 20 54 | executa|bles. T|
|00003090| 68 69 73 20 73 75 67 67 | 65 73 74 73 20 74 68 61 |his sugg|ests tha|
|000030a0| 74 0a 20 20 20 20 20 20 | 20 20 73 68 65 6c 6c 73 |t. | shells|
|000030b0| 2c 20 77 68 69 63 68 20 | 66 6f 72 6b 20 61 20 67 |, which |fork a g|
|000030c0| 72 65 61 74 20 64 65 61 | 6c 2c 20 73 68 6f 75 6c |reat dea|l, shoul|
|000030d0| 64 20 70 72 6f 62 61 62 | 6c 79 20 62 65 20 73 74 |d probab|ly be st|
|000030e0| 61 74 69 63 61 6c 6c 79 | 0a 20 20 20 20 20 20 20 |atically|. |
|000030f0| 20 6c 69 6e 6b 65 64 20 | 28 69 2e 65 2e 2c 20 79 | linked |(i.e., y|
|00003100| 6f 75 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 6c 69 |ou shoul|d not li|
|00003110| 6e 6b 20 74 68 65 6d 20 | 77 69 74 68 20 73 68 61 |nk them |with sha|
|00003120| 72 65 64 20 6c 69 62 72 | 61 72 69 65 73 29 2e 0a |red libr|aries)..|
|00003130| 20 20 20 20 20 20 20 20 | 72 63 20 6d 61 6b 65 73 | |rc makes|
|00003140| 20 73 6f 20 6c 69 74 74 | 6c 65 20 75 73 65 20 6f | so litt|le use o|
|00003150| 66 20 6c 69 62 63 20 66 | 75 6e 63 74 69 6f 6e 73 |f libc f|unctions|
|00003160| 20 74 68 61 74 20 73 74 | 61 74 69 63 20 6c 69 6e | that st|atic lin|
|00003170| 6b 69 6e 67 0a 20 20 20 | 20 20 20 20 20 72 65 73 |king. | res|
|00003180| 75 6c 74 73 20 69 6e 20 | 6f 6e 6c 79 20 61 20 73 |ults in |only a s|
|00003190| 6d 61 6c 6c 20 69 6e 63 | 72 65 61 73 65 20 69 6e |mall inc|rease in|
|000031a0| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 | the siz|e of the|
|000031b0| 20 65 78 65 63 75 74 61 | 62 6c 65 0a 20 20 20 20 | executa|ble. |
|000031c0| 20 20 20 20 6f 6e 20 64 | 69 73 63 2e 0a 0a 20 20 | on d|isc... |
|000031d0| 20 20 20 20 20 20 56 65 | 72 73 69 6f 6e 73 20 6f | Ve|rsions o|
|000031e0| 66 20 55 4e 49 58 20 77 | 68 69 63 68 20 73 75 70 |f UNIX w|hich sup|
|000031f0| 70 6f 72 74 20 73 68 61 | 72 65 64 20 6c 69 62 72 |port sha|red libr|
|00003200| 61 72 69 65 73 20 69 6e | 63 6c 75 64 65 20 53 56 |aries in|clude SV|
|00003210| 52 34 2c 0a 20 20 20 20 | 20 20 20 20 53 75 6e 4f |R4,. | SunO|
|00003220| 53 2c 20 53 6f 6c 61 72 | 69 73 2c 20 4f 53 46 2f |S, Solar|is, OSF/|
|00003230| 31 2c 20 61 6e 64 20 49 | 72 69 78 2e 0a 0a 31 2e |1, and I|rix...1.|
|00003240| 37 20 20 20 20 20 54 6f | 20 77 68 6f 6d 20 64 6f |7 To| whom do|
|00003250| 20 49 20 72 65 70 6f 72 | 74 20 62 75 67 73 3f 0a | I repor|t bugs?.|
|00003260| 0a 20 20 20 20 20 20 20 | 20 42 79 72 6f 6e 20 52 |. | Byron R|
|00003270| 61 6b 69 74 7a 69 73 20 | 28 62 79 72 6f 6e 40 6e |akitzis |(byron@n|
|00003280| 65 74 61 70 70 2e 63 6f | 6d 29 20 6f 72 20 74 68 |etapp.co|m) or th|
|00003290| 65 20 72 63 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 |e rc mai|ling lis|
|000032a0| 74 0a 20 20 20 20 20 20 | 20 20 28 72 63 40 68 61 |t. | (rc@ha|
|000032b0| 77 6b 77 69 6e 64 2e 75 | 74 63 73 2e 74 6f 72 6f |wkwind.u|tcs.toro|
|000032c0| 6e 74 6f 2e 65 64 75 29 | 2e 20 20 50 6c 65 61 73 |nto.edu)|. Pleas|
|000032d0| 65 20 63 68 65 63 6b 20 | 74 68 65 20 64 6f 63 75 |e check |the docu|
|000032e0| 6d 65 6e 74 61 74 69 6f | 6e 0a 20 20 20 20 20 20 |mentatio|n. |
|000032f0| 20 20 62 65 66 6f 72 65 | 20 72 65 70 6f 72 74 69 | before| reporti|
|00003300| 6e 67 20 62 75 67 73 2c | 20 61 6e 64 20 63 68 65 |ng bugs,| and che|
|00003310| 63 6b 20 74 68 65 20 6d | 61 69 6c 69 6e 67 20 6c |ck the m|ailing l|
|00003320| 69 73 74 20 61 72 63 68 | 69 76 65 20 69 6e 0a 20 |ist arch|ive in. |
|00003330| 20 20 20 20 20 20 20 63 | 61 73 65 20 74 68 65 20 | c|ase the |
|00003340| 62 75 67 20 69 73 20 61 | 6c 72 65 61 64 79 20 6b |bug is a|lready k|
|00003350| 6e 6f 77 6e 2e 0a 0a 31 | 2e 38 20 20 20 20 20 44 |nown...1|.8 D|
|00003360| 6f 65 73 20 61 6e 79 6f | 6e 65 20 68 61 76 65 20 |oes anyo|ne have |
|00003370| 61 6e 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |an imple|mentatio|
|00003380| 6e 20 6f 66 20 2f 64 65 | 76 2f 66 64 20 66 6f 72 |n of /de|v/fd for|
|00003390| 20 6d 79 20 55 4e 49 58 | 3f 0a 0a 20 20 20 20 20 | my UNIX|?.. |
|000033a0| 20 20 20 2f 64 65 76 2f | 66 64 20 70 73 65 75 64 | /dev/|fd pseud|
|000033b0| 6f 2d 64 65 76 69 63 65 | 73 20 61 6c 6c 6f 77 20 |o-device|s allow |
|000033c0| 61 20 6d 6f 72 65 20 72 | 65 6c 69 61 62 6c 65 20 |a more r|eliable |
|000033d0| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 20 6f |implemen|tation o|
|000033e0| 66 0a 20 20 20 20 20 20 | 20 20 6e 6f 6e 2d 6c 69 |f. | non-li|
|000033f0| 6e 65 61 72 20 70 69 70 | 65 6c 69 6e 65 73 20 28 |near pip|elines (|
|00003400| 69 2e 65 2e 2c 20 3c 7b | 2e 2e 2e 7d 20 20 61 6e |i.e., <{|...} an|
|00003410| 64 20 3e 7b 2e 2e 2e 7d | 29 20 74 68 61 6e 20 6e |d >{...}|) than n|
|00003420| 61 6d 65 64 0a 20 20 20 | 20 20 20 20 20 70 69 70 |amed. | pip|
|00003430| 65 73 2c 20 62 75 74 20 | 74 68 65 79 20 61 72 65 |es, but |they are|
|00003440| 20 6e 6f 74 20 70 72 65 | 73 65 6e 74 20 69 6e 20 | not pre|sent in |
|00003450| 61 6c 6c 20 76 65 72 73 | 69 6f 6e 73 20 6f 66 20 |all vers|ions of |
|00003460| 55 4e 49 58 2e 0a 0a 20 | 20 20 20 20 20 20 20 41 |UNIX... | A|
|00003470| 6e 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |n implem|entation|
|00003480| 20 6f 66 20 55 6c 74 72 | 69 78 20 76 34 2e 32 20 | of Ultr|ix v4.2 |
|00003490| 61 6e 64 20 6c 61 74 65 | 72 20 77 61 73 20 70 6f |and late|r was po|
|000034a0| 73 74 65 64 20 74 6f 20 | 74 68 65 0a 20 20 20 20 |sted to |the. |
|000034b0| 20 20 20 20 6d 61 69 6c | 69 6e 67 20 6c 69 73 74 | mail|ing list|
|000034c0| 20 69 6e 20 4d 61 72 63 | 68 20 31 39 39 33 20 28 | in Marc|h 1993 (|
|000034d0| 73 65 65 20 32 2e 32 29 | 2e 0a 0a 20 20 20 20 20 |see 2.2)|... |
|000034e0| 20 20 20 41 6e 20 69 6d | 70 6c 65 6d 65 6e 74 61 | An im|plementa|
|000034f0| 74 69 6f 6e 20 66 6f 72 | 20 53 75 6e 4f 53 20 76 |tion for| SunOS v|
|00003500| 34 2e 31 2e 31 20 69 73 | 20 61 6c 73 6f 20 61 76 |4.1.1 is| also av|
|00003510| 61 69 6c 61 62 6c 65 20 | 28 61 6c 74 68 6f 75 67 |ailable |(althoug|
|00003520| 68 0a 20 20 20 20 20 20 | 20 20 69 74 20 6d 61 79 |h. | it may|
|00003530| 20 77 65 6c 6c 20 77 6f | 72 6b 20 77 69 74 68 20 | well wo|rk with |
|00003540| 76 34 2e 31 2e 32 20 61 | 6e 64 20 76 34 2e 31 2e |v4.1.2 a|nd v4.1.|
|00003550| 33 29 20 62 79 20 61 6e | 6f 6e 79 6d 6f 75 73 20 |3) by an|onymous |
|00003560| 46 54 50 20 61 73 0a 20 | 20 20 20 20 20 20 20 66 |FTP as. | f|
|00003570| 74 70 2e 63 73 2e 61 72 | 69 7a 6f 6e 61 2e 65 64 |tp.cs.ar|izona.ed|
|00003580| 75 3a 2f 64 65 76 66 64 | 2e 73 68 61 72 2e 0a 0a |u:/devfd|.shar...|
|00003590| 20 20 20 20 20 20 20 20 | 41 6e 20 69 6d 70 6c 65 | |An imple|
|000035a0| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 20 53 75 |mentatio|n for Su|
|000035b0| 6e 4f 53 20 76 34 2e 31 | 2e 32 20 69 73 20 61 76 |nOS v4.1|.2 is av|
|000035c0| 61 69 6c 61 62 6c 65 20 | 62 79 20 61 6e 6f 6e 79 |ailable |by anony|
|000035d0| 6d 6f 75 73 20 46 54 50 | 0a 20 20 20 20 20 20 20 |mous FTP|. |
|000035e0| 20 61 73 20 65 6d 78 2e | 63 63 2e 75 74 65 78 61 | as emx.|cc.utexa|
|000035f0| 73 2e 65 64 75 3a 2f 70 | 75 62 2f 6d 6e 74 2f 73 |s.edu:/p|ub/mnt/s|
|00003600| 6f 75 72 63 65 2f 73 75 | 6e 2f 64 65 76 66 64 2e |ource/su|n/devfd.|
|00003610| 73 68 61 72 2e 20 20 28 | 54 68 69 73 20 69 73 0a |shar. (|This is.|
|00003620| 20 20 20 20 20 20 20 20 | 70 61 63 6b 61 67 65 64 | |packaged|
|00003630| 20 61 73 20 61 20 6c 6f | 61 64 61 62 6c 65 20 6d | as a lo|adable m|
|00003640| 6f 64 75 6c 65 2c 20 73 | 6f 20 79 6f 75 20 64 6f |odule, s|o you do|
|00003650| 20 6e 6f 74 20 68 61 76 | 65 20 74 6f 20 72 65 62 | not hav|e to reb|
|00003660| 75 69 6c 64 0a 20 20 20 | 20 20 20 20 20 79 6f 75 |uild. | you|
|00003670| 72 20 6b 65 72 6e 65 6c | 2e 29 0a 0a 20 20 20 20 |r kernel|.).. |
|00003680| 20 20 20 20 41 6e 20 69 | 6d 70 6c 65 6d 65 6e 74 | An i|mplement|
|00003690| 61 74 69 6f 6e 20 66 6f | 72 20 4e 65 58 54 20 4f |ation fo|r NeXT O|
|000036a0| 53 20 32 2e 31 20 69 73 | 20 61 76 61 69 6c 61 62 |S 2.1 is| availab|
|000036b0| 6c 65 20 62 79 20 61 6e | 6f 6e 79 6d 6f 75 73 20 |le by an|onymous |
|000036c0| 46 54 50 0a 20 20 20 20 | 20 20 20 20 61 73 20 66 |FTP. | as f|
|000036d0| 74 70 2e 73 79 73 2e 74 | 6f 72 6f 6e 74 6f 2e 65 |tp.sys.t|oronto.e|
|000036e0| 64 75 3a 2f 70 75 62 2f | 72 63 2f 64 65 76 66 64 |du:/pub/|rc/devfd|
|000036f0| 2d 6e 65 78 74 2e 73 68 | 61 72 2e 67 7a 2e 0a 0a |-next.sh|ar.gz...|
|00003700| 20 20 20 20 20 20 20 20 | 59 6f 75 20 77 69 6c 6c | |You will|
|00003710| 2c 20 6f 66 20 63 6f 75 | 72 73 65 2c 20 6e 65 65 |, of cou|rse, nee|
|00003720| 64 20 74 6f 20 72 65 62 | 75 69 6c 64 20 79 6f 75 |d to reb|uild you|
|00003730| 72 20 6b 65 72 6e 65 6c | 20 74 6f 20 69 6e 73 74 |r kernel| to inst|
|00003740| 61 6c 6c 0a 20 20 20 20 | 20 20 20 20 74 68 65 73 |all. | thes|
|00003750| 65 20 70 73 65 75 64 6f | 2d 64 65 76 69 63 65 73 |e pseudo|-devices|
|00003760| 2e 0a 0a 32 2e 20 20 20 | 20 20 20 54 68 65 20 72 |...2. | The r|
|00003770| 63 20 6d 61 69 6c 69 6e | 67 20 6c 69 73 74 0a 0a |c mailin|g list..|
|00003780| 32 2e 31 20 20 20 20 20 | 48 6f 77 20 64 6f 20 49 |2.1 |How do I|
|00003790| 20 73 75 62 73 63 72 69 | 62 65 20 74 6f 20 74 68 | subscri|be to th|
|000037a0| 65 20 72 63 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 |e rc mai|ling lis|
|000037b0| 74 3f 0a 0a 20 20 20 20 | 20 20 20 20 53 65 6e 64 |t?.. | Send|
|000037c0| 20 6d 61 69 6c 20 74 6f | 0a 0a 20 20 20 20 20 20 | mail to|.. |
|000037d0| 20 20 20 20 20 20 72 63 | 2d 72 65 71 75 65 73 74 | rc|-request|
|000037e0| 40 68 61 77 6b 77 69 6e | 64 2e 75 74 63 73 2e 74 |@hawkwin|d.utcs.t|
|000037f0| 6f 72 6f 6e 74 6f 2e 65 | 64 75 2e 0a 0a 20 20 20 |oronto.e|du... |
|00003800| 20 20 20 20 20 43 68 72 | 69 73 20 53 69 65 62 65 | Chr|is Siebe|
|00003810| 6e 6d 61 6e 6e 20 6d 61 | 69 6e 74 61 69 6e 73 20 |nmann ma|intains |
|00003820| 74 68 65 20 6d 61 69 6c | 69 6e 67 20 6c 69 73 74 |the mail|ing list|
|00003830| 2c 20 61 6e 64 20 63 61 | 6e 20 62 65 20 72 65 61 |, and ca|n be rea|
|00003840| 63 68 65 64 0a 20 20 20 | 20 20 20 20 20 61 74 20 |ched. | at |
|00003850| 74 68 65 20 61 62 6f 76 | 65 20 61 64 64 72 65 73 |the abov|e addres|
|00003860| 73 20 69 6e 20 74 68 65 | 20 65 76 65 6e 74 20 6f |s in the| event o|
|00003870| 66 20 70 72 6f 62 6c 65 | 6d 73 20 77 69 74 68 20 |f proble|ms with |
|00003880| 74 68 65 20 6d 61 69 6c | 69 6e 67 0a 20 20 20 20 |the mail|ing. |
|00003890| 20 20 20 20 6c 69 73 74 | 20 6f 72 20 74 6f 20 75 | list| or to u|
|000038a0| 6e 73 75 62 73 63 72 69 | 62 65 2e 0a 0a 20 20 20 |nsubscri|be... |
|000038b0| 20 20 20 20 20 54 68 65 | 20 72 63 20 6d 61 69 6c | The| rc mail|
|000038c0| 69 6e 67 20 6c 69 73 74 | 20 72 65 70 72 65 73 65 |ing list| represe|
|000038d0| 6e 74 73 20 68 75 6e 64 | 72 65 64 73 20 6f 66 20 |nts hund|reds of |
|000038e0| 75 73 65 72 2d 79 65 61 | 72 73 20 6f 66 0a 20 20 |user-yea|rs of. |
|000038f0| 20 20 20 20 20 20 65 78 | 70 65 72 69 65 6e 63 65 | ex|perience|
|00003900| 20 77 69 74 68 20 72 63 | 2e 20 20 43 6c 65 61 72 | with rc|. Clear|
|00003910| 6c 79 2c 20 69 74 20 69 | 73 20 61 20 63 6f 75 72 |ly, it i|s a cour|
|00003920| 74 65 73 79 20 74 6f 20 | 74 68 65 20 6c 69 73 74 |tesy to |the list|
|00003930| 20 61 6e 64 0a 20 20 20 | 20 20 20 20 20 74 6f 20 | and. | to |
|00003940| 79 6f 75 72 20 6f 77 6e | 20 61 64 76 61 6e 74 61 |your own| advanta|
|00003950| 67 65 20 74 6f 20 63 68 | 65 63 6b 20 74 68 65 20 |ge to ch|eck the |
|00003960| 6d 61 69 6c 69 6e 67 20 | 6c 69 73 74 20 61 72 63 |mailing |list arc|
|00003970| 68 69 76 65 20 62 65 66 | 6f 72 65 0a 20 20 20 20 |hive bef|ore. |
|00003980| 20 20 20 20 70 6f 73 74 | 69 6e 67 20 74 6f 20 74 | post|ing to t|
|00003990| 68 65 20 6c 69 73 74 2c | 20 74 6f 20 62 65 6e 65 |he list,| to bene|
|000039a0| 66 69 74 20 66 72 6f 6d | 20 74 68 65 20 65 78 70 |fit from| the exp|
|000039b0| 65 72 69 65 6e 63 65 20 | 61 6e 64 20 6d 69 73 74 |erience |and mist|
|000039c0| 61 6b 65 73 0a 20 20 20 | 20 20 20 20 20 6f 66 20 |akes. | of |
|000039d0| 74 68 6f 73 65 20 62 65 | 66 6f 72 65 20 79 6f 75 |those be|fore you|
|000039e0| 2c 20 61 6e 64 20 74 6f | 20 70 72 65 76 65 6e 74 |, and to| prevent|
|000039f0| 20 74 6f 70 69 63 73 20 | 62 65 69 6e 67 20 63 6f | topics |being co|
|00003a00| 6e 74 69 6e 75 61 6c 6c | 79 0a 20 20 20 20 20 20 |ntinuall|y. |
|00003a10| 20 20 72 65 68 61 73 68 | 65 64 2e 0a 0a 32 2e 32 | rehash|ed...2.2|
|00003a20| 20 20 20 20 20 48 6f 77 | 20 64 6f 20 49 20 6f 62 | How| do I ob|
|00003a30| 74 61 69 6e 20 74 68 65 | 20 72 63 20 6d 61 69 6c |tain the| rc mail|
|00003a40| 69 6e 67 20 6c 69 73 74 | 20 61 72 63 68 69 76 65 |ing list| archive|
|00003a50| 3f 0a 0a 20 20 20 20 20 | 20 20 20 54 68 65 20 61 |?.. | The a|
|00003a60| 72 63 68 69 76 65 20 63 | 61 6e 20 62 65 20 6f 62 |rchive c|an be ob|
|00003a70| 74 61 69 6e 65 64 20 62 | 79 20 61 6e 6f 6e 79 6d |tained b|y anonym|
|00003a80| 6f 75 73 20 46 54 50 2e | 20 20 41 74 20 74 68 65 |ous FTP.| At the|
|00003a90| 20 6d 6f 6d 65 6e 74 2c | 20 69 74 0a 20 20 20 20 | moment,| it. |
|00003aa0| 20 20 20 20 69 73 20 73 | 70 6c 69 74 20 63 68 72 | is s|plit chr|
|00003ab0| 6f 6e 6f 6c 6f 67 69 63 | 61 6c 6c 79 20 62 65 74 |onologic|ally bet|
|00003ac0| 77 65 65 6e 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |ween the| origina|
|00003ad0| 6c 20 61 6e 64 20 63 75 | 72 72 65 6e 74 0a 20 20 |l and cu|rrent. |
|00003ae0| 20 20 20 20 20 20 6d 61 | 69 6e 74 61 69 6e 65 72 | ma|intainer|
|00003af0| 73 20 6f 66 20 74 68 65 | 20 6d 61 69 6c 69 6e 67 |s of the| mailing|
|00003b00| 20 6c 69 73 74 2e 0a 0a | 20 20 20 20 20 20 20 20 | list...| |
|00003b10| 50 65 72 69 6f 64 20 20 | 20 20 20 20 20 20 20 20 |Period | |
|00003b20| 20 20 20 20 46 69 6c 65 | 0a 20 20 20 20 20 20 20 | File|. |
|00003b30| 20 4a 75 6e 20 39 31 20 | 74 6f 20 44 65 63 20 39 | Jun 91 |to Dec 9|
|00003b40| 31 20 20 20 20 76 69 7a | 2e 74 61 6d 75 2e 65 64 |1 viz|.tamu.ed|
|00003b50| 75 3a 2f 70 75 62 2f 72 | 63 2f 72 63 2d 6c 69 73 |u:/pub/r|c/rc-lis|
|00003b60| 74 2e 31 39 39 31 2e 5a | 0a 20 20 20 20 20 20 20 |t.1991.Z|. |
|00003b70| 20 4a 61 6e 20 39 32 20 | 74 6f 20 4d 61 79 20 39 | Jan 92 |to May 9|
|00003b80| 32 20 20 20 20 76 69 7a | 2e 74 61 6d 75 2e 65 64 |2 viz|.tamu.ed|
|00003b90| 75 3a 2f 70 75 62 2f 72 | 63 2f 72 63 2d 6c 69 73 |u:/pub/r|c/rc-lis|
|00003ba0| 74 0a 20 20 20 20 20 20 | 20 20 4d 61 79 20 39 32 |t. | May 92|
|00003bb0| 20 74 6f 20 70 72 65 73 | 65 6e 74 20 20 20 66 74 | to pres|ent ft|
|00003bc0| 70 2e 73 79 73 2e 74 6f | 72 6f 6e 74 6f 2e 65 64 |p.sys.to|ronto.ed|
|00003bd0| 75 3a 2f 70 75 62 2f 72 | 63 2f 72 63 2d 6c 69 73 |u:/pub/r|c/rc-lis|
|00003be0| 74 0a 0a 33 2e 20 20 20 | 20 20 20 54 68 65 20 72 |t..3. | The r|
|00003bf0| 63 20 46 41 51 20 6c 69 | 73 74 0a 0a 33 2e 31 20 |c FAQ li|st..3.1 |
|00003c00| 20 20 20 20 48 6f 77 20 | 64 6f 20 49 20 6f 62 74 | How |do I obt|
|00003c10| 61 69 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ain the |current |
|00003c20| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 65 20 72 |version |of the r|
|00003c30| 63 20 46 41 51 20 6c 69 | 73 74 3f 0a 0a 20 20 20 |c FAQ li|st?.. |
|00003c40| 20 20 20 20 20 54 68 65 | 20 63 75 72 72 65 6e 74 | The| current|
|00003c50| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 65 20 | version| of the |
|00003c60| 72 63 20 46 41 51 20 6c | 69 73 74 20 69 73 20 61 |rc FAQ l|ist is a|
|00003c70| 76 61 69 6c 61 62 6c 65 | 20 62 79 20 61 6e 6f 6e |vailable| by anon|
|00003c80| 79 6d 6f 75 73 0a 20 20 | 20 20 20 20 20 20 46 54 |ymous. | FT|
|00003c90| 50 20 61 73 20 6f 6c 64 | 70 2e 61 73 74 72 6f 2e |P as old|p.astro.|
|00003ca0| 77 69 73 63 2e 65 64 75 | 3a 2f 70 75 62 2f 72 63 |wisc.edu|:/pub/rc|
|00003cb0| 2f 72 63 2d 46 41 51 2e | 20 20 54 68 69 73 20 46 |/rc-FAQ.| This F|
|00003cc0| 41 51 20 69 73 20 61 6c | 73 6f 0a 20 20 20 20 20 |AQ is al|so. |
|00003cd0| 20 20 20 61 72 63 68 69 | 76 65 64 20 61 75 74 6f | archi|ved auto|
|00003ce0| 6d 61 74 69 63 61 6c 6c | 79 20 61 6e 64 20 69 73 |maticall|y and is|
|00003cf0| 20 61 76 61 69 6c 61 62 | 6c 65 20 62 79 20 61 6e | availab|le by an|
|00003d00| 6f 6e 79 6d 6f 75 73 20 | 46 54 50 20 61 73 0a 20 |onymous |FTP as. |
|00003d10| 20 20 20 20 20 20 20 72 | 74 66 6d 2e 6d 69 74 2e | r|tfm.mit.|
|00003d20| 65 64 75 3a 2f 70 75 62 | 2f 75 73 65 6e 65 74 2f |edu:/pub|/usenet/|
|00003d30| 63 6f 6d 70 2e 75 6e 69 | 78 2e 73 68 65 6c 6c 2f |comp.uni|x.shell/|
|00003d40| 72 63 2d 46 41 51 2e 0a | 0a 33 2e 32 20 20 20 20 |rc-FAQ..|.3.2 |
|00003d50| 20 54 6f 20 77 68 6f 6d | 20 64 6f 20 49 20 6d 61 | To whom| do I ma|
|00003d60| 6b 65 20 73 75 67 67 65 | 73 74 69 6f 6e 73 20 61 |ke sugge|stions a|
|00003d70| 62 6f 75 74 20 74 68 65 | 20 72 63 20 46 41 51 20 |bout the| rc FAQ |
|00003d80| 6c 69 73 74 3f 0a 0a 20 | 20 20 20 20 20 20 20 54 |list?.. | T|
|00003d90| 6f 20 69 74 73 20 65 64 | 69 74 6f 72 2c 20 41 6c |o its ed|itor, Al|
|00003da0| 61 6e 20 57 61 74 73 6f | 6e 20 28 61 6c 61 6e 40 |an Watso|n (alan@|
|00003db0| 6f 6c 64 70 2e 61 73 74 | 72 6f 2e 77 69 73 63 2e |oldp.ast|ro.wisc.|
|00003dc0| 65 64 75 29 2c 20 6f 72 | 20 74 68 65 20 72 63 0a |edu), or| the rc.|
|00003dd0| 20 20 20 20 20 20 20 20 | 6d 61 69 6c 69 6e 67 20 | |mailing |
|00003de0| 6c 69 73 74 20 69 66 20 | 79 6f 75 20 74 68 69 6e |list if |you thin|
|00003df0| 6b 20 79 6f 75 72 20 73 | 75 67 67 65 73 74 69 6f |k your s|uggestio|
|00003e00| 6e 20 77 61 72 72 61 6e | 74 73 20 61 20 77 69 64 |n warran|ts a wid|
|00003e10| 65 72 0a 20 20 20 20 20 | 20 20 20 61 75 64 69 65 |er. | audie|
|00003e20| 6e 63 65 2e 0a 0a 34 2e | 20 20 20 20 20 20 44 6f |nce...4.| Do|
|00003e30| 65 73 20 72 63 20 68 61 | 76 65 20 2e 2e 2e 20 3f |es rc ha|ve ... ?|
|00003e40| 0a 0a 34 2e 31 20 20 20 | 20 20 44 6f 65 73 20 72 |..4.1 | Does r|
|00003e50| 63 20 68 61 76 65 20 6a | 6f 62 20 63 6f 6e 74 72 |c have j|ob contr|
|00003e60| 6f 6c 3f 0a 0a 20 20 20 | 20 20 20 20 20 4e 6f 2e |ol?.. | No.|
|00003e70| 20 20 54 68 69 73 20 68 | 61 73 20 62 65 65 6e 20 | This h|as been |
|00003e80| 64 69 73 63 75 73 73 65 | 64 20 61 74 20 6c 65 6e |discusse|d at len|
|00003e90| 67 74 68 20 69 6e 20 74 | 68 65 20 72 63 20 6d 61 |gth in t|he rc ma|
|00003ea0| 69 6c 69 6e 67 20 6c 69 | 73 74 2e 0a 0a 20 20 20 |iling li|st... |
|00003eb0| 20 20 20 20 20 4e 6f 77 | 20 74 68 61 74 20 70 65 | Now| that pe|
|00003ec0| 72 73 6f 6e 61 6c 20 77 | 6f 72 6b 73 74 61 74 69 |rsonal w|orkstati|
|00003ed0| 6f 6e 73 20 77 69 74 68 | 20 77 69 6e 64 6f 77 20 |ons with| window |
|00003ee0| 73 79 73 74 65 6d 73 20 | 61 72 65 20 63 6f 6d 6d |systems |are comm|
|00003ef0| 6f 6e 0a 20 20 20 20 20 | 20 20 20 70 6c 61 63 65 |on. | place|
|00003f00| 2c 20 74 68 65 20 63 61 | 73 65 20 66 6f 72 20 6a |, the ca|se for j|
|00003f10| 6f 62 20 63 6f 6e 74 72 | 6f 6c 20 69 73 20 6c 65 |ob contr|ol is le|
|00003f20| 73 73 20 63 6f 6d 70 65 | 6c 6c 69 6e 67 2e 20 20 |ss compe|lling. |
|00003f30| 48 6f 77 65 76 65 72 2c | 20 69 66 0a 20 20 20 20 |However,| if. |
|00003f40| 20 20 20 20 79 6f 75 20 | 68 61 76 65 20 74 6f 20 | you |have to |
|00003f50| 75 73 65 20 72 63 20 6f | 6e 20 61 20 74 72 61 64 |use rc o|n a trad|
|00003f60| 69 74 69 6f 6e 61 6c 20 | 74 65 72 6d 69 6e 61 6c |itional |terminal|
|00003f70| 2c 20 79 6f 75 20 6d 61 | 79 20 77 69 73 68 20 74 |, you ma|y wish t|
|00003f80| 6f 0a 20 20 20 20 20 20 | 20 20 6f 62 74 61 69 6e |o. | obtain|
|00003f90| 20 74 68 65 20 73 63 72 | 65 65 6e 73 20 70 72 6f | the scr|eens pro|
|00003fa0| 67 72 61 6d 20 66 72 6f | 6d 20 61 20 47 4e 55 20 |gram fro|m a GNU |
|00003fb0| 61 72 63 68 69 76 65 20 | 28 73 65 65 20 37 2e 34 |archive |(see 7.4|
|00003fc0| 29 2c 20 74 68 65 20 73 | 6d 0a 20 20 20 20 20 20 |), the s|m. |
|00003fd0| 20 20 70 72 6f 67 72 61 | 6d 20 74 68 61 74 20 77 | progra|m that w|
|00003fe0| 61 73 20 70 6f 73 74 65 | 64 20 74 6f 20 61 6c 74 |as poste|d to alt|
|00003ff0| 2e 73 6f 75 72 63 65 73 | 20 69 6e 20 6d 69 64 2d |.sources| in mid-|
|00004000| 31 39 39 32 20 28 73 65 | 65 20 37 2e 34 29 2c 20 |1992 (se|e 7.4), |
|00004010| 6f 72 0a 20 20 20 20 20 | 20 20 20 69 6e 76 65 73 |or. | inves|
|00004020| 74 69 67 61 74 65 20 73 | 68 65 6c 6c 20 65 73 63 |tigate s|hell esc|
|00004030| 61 70 65 20 6d 65 63 68 | 61 6e 69 73 6d 73 20 69 |ape mech|anisms i|
|00004040| 6e 20 76 69 20 61 6e 64 | 20 73 68 65 6c 6c 20 6d |n vi and| shell m|
|00004050| 6f 64 65 20 69 6e 0a 20 | 20 20 20 20 20 20 20 65 |ode in. | e|
|00004060| 6d 61 63 73 2e 0a 0a 34 | 2e 32 20 20 20 20 20 44 |macs...4|.2 D|
|00004070| 6f 65 73 20 72 63 20 68 | 61 76 65 20 63 6f 6d 6d |oes rc h|ave comm|
|00004080| 61 6e 64 2d 6c 69 6e 65 | 20 65 64 69 74 69 6e 67 |and-line| editing|
|00004090| 3f 0a 0a 20 20 20 20 20 | 20 20 20 49 66 20 79 6f |?.. | If yo|
|000040a0| 75 20 77 69 73 68 2e 20 | 20 48 6f 6f 6b 73 20 61 |u wish. | Hooks a|
|000040b0| 72 65 20 70 72 6f 76 69 | 64 65 64 20 66 6f 72 20 |re provi|ded for |
|000040c0| 74 68 65 20 72 65 61 64 | 6c 69 6e 65 20 6f 72 20 |the read|line or |
|000040d0| 65 64 69 74 6c 69 6e 65 | 0a 20 20 20 20 20 20 20 |editline|. |
|000040e0| 20 6c 69 62 72 61 72 69 | 65 73 20 77 68 69 63 68 | librari|es which|
|000040f0| 20 70 72 6f 76 69 64 65 | 20 63 6f 6d 6d 61 6e 64 | provide| command|
|00004100| 2d 6c 69 6e 65 20 65 64 | 69 74 69 6e 67 2e 20 20 |-line ed|iting. |
|00004110| 54 68 65 20 64 65 66 61 | 75 6c 74 20 69 73 20 6e |The defa|ult is n|
|00004120| 6f 0a 20 20 20 20 20 20 | 20 20 63 6f 6d 6d 61 6e |o. | comman|
|00004130| 64 2d 6c 69 6e 65 20 65 | 64 69 74 69 6e 67 2e 0a |d-line e|diting..|
|00004140| 0a 20 20 20 20 20 20 20 | 20 54 68 65 20 72 65 61 |. | The rea|
|00004150| 64 6c 69 6e 65 20 6c 69 | 62 72 61 72 79 20 63 61 |dline li|brary ca|
|00004160| 6e 20 62 65 20 6f 62 74 | 61 69 6e 65 64 20 66 72 |n be obt|ained fr|
|00004170| 6f 6d 20 61 20 47 4e 55 | 20 61 72 63 68 69 76 65 |om a GNU| archive|
|00004180| 20 28 73 65 65 0a 20 20 | 20 20 20 20 20 20 37 2e | (see. | 7.|
|00004190| 34 29 2e 0a 0a 20 20 20 | 20 20 20 20 20 54 68 65 |4)... | The|
|000041a0| 20 65 64 69 74 6c 69 6e | 65 20 6c 69 62 72 61 72 | editlin|e librar|
|000041b0| 79 20 69 73 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |y is sim|ilar to |
|000041c0| 74 68 65 20 72 65 61 64 | 6c 69 6e 65 20 6c 69 62 |the read|line lib|
|000041d0| 72 61 72 79 2c 20 62 75 | 74 20 69 73 0a 20 20 20 |rary, bu|t is. |
|000041e0| 20 20 20 20 20 61 20 66 | 72 61 63 74 69 6f 6e 20 | a f|raction |
|000041f0| 6f 66 20 74 68 65 20 73 | 69 7a 65 20 61 6e 64 20 |of the s|ize and |
|00004200| 6f 66 66 65 72 73 20 66 | 65 77 65 72 20 66 65 61 |offers f|ewer fea|
|00004210| 74 75 72 65 73 2e 20 20 | 54 68 65 20 73 6f 75 72 |tures. |The sour|
|00004220| 63 65 73 0a 20 20 20 20 | 20 20 20 20 61 72 65 20 |ces. | are |
|00004230| 61 76 61 69 6c 61 62 6c | 65 20 61 73 20 66 74 70 |availabl|e as ftp|
|00004240| 2e 73 79 73 2e 74 6f 72 | 6f 6e 74 6f 2e 65 64 75 |.sys.tor|onto.edu|
|00004250| 3a 2f 70 75 62 2f 72 63 | 2f 65 64 69 74 6c 69 6e |:/pub/rc|/editlin|
|00004260| 65 2e 73 68 61 72 20 62 | 79 0a 20 20 20 20 20 20 |e.shar b|y. |
|00004270| 20 20 61 6e 6f 6e 79 6d | 6f 75 73 20 46 54 50 29 | anonym|ous FTP)|
|00004280| 2e 0a 0a 20 20 20 20 20 | 20 20 20 41 6c 74 65 72 |... | Alter|
|00004290| 6e 61 74 69 76 65 6c 79 | 2c 20 79 6f 75 20 63 61 |natively|, you ca|
|000042a0| 6e 20 75 73 65 20 66 65 | 70 2c 20 69 6c 65 2c 20 |n use fe|p, ile, |
|000042b0| 61 74 74 79 2c 20 6f 72 | 20 52 6b 20 74 6f 20 69 |atty, or| Rk to i|
|000042c0| 6d 70 6c 65 6d 65 6e 74 | 0a 20 20 20 20 20 20 20 |mplement|. |
|000042d0| 20 65 64 69 74 69 6e 67 | 20 6f 6e 20 61 20 70 65 | editing| on a pe|
|000042e0| 72 2d 74 65 72 6d 69 6e | 61 6c 20 62 61 73 69 73 |r-termin|al basis|
|000042f0| 2e 20 20 54 68 65 73 65 | 20 68 61 76 65 20 62 65 |. These| have be|
|00004300| 65 6e 20 64 69 73 63 75 | 73 73 65 64 20 69 6e 0a |en discu|ssed in.|
|00004310| 20 20 20 20 20 20 20 20 | 6f 6e 20 74 68 65 20 6d | |on the m|
|00004320| 61 69 6c 69 6e 67 20 6c | 69 73 74 20 61 74 20 6f |ailing l|ist at o|
|00004330| 6e 65 20 74 69 6d 65 20 | 6f 72 20 61 6e 6f 74 68 |ne time |or anoth|
|00004340| 65 72 2c 20 61 6e 64 20 | 6d 6f 64 69 66 69 63 61 |er, and |modifica|
|00004350| 74 69 6f 6e 73 20 74 6f | 0a 20 20 20 20 20 20 20 |tions to|. |
|00004360| 20 69 6c 65 20 68 61 76 | 65 20 62 65 65 6e 20 70 | ile hav|e been p|
|00004370| 6f 73 74 65 64 20 74 68 | 65 72 65 2e 0a 0a 34 2e |osted th|ere...4.|
|00004380| 33 20 20 20 20 20 44 6f | 65 73 20 72 63 20 68 61 |3 Do|es rc ha|
|00004390| 76 65 20 61 20 68 69 73 | 74 6f 72 79 20 6d 65 63 |ve a his|tory mec|
|000043a0| 68 61 6e 69 73 6d 3f 0a | 0a 20 20 20 20 20 20 20 |hanism?.|. |
|000043b0| 20 59 65 73 2e 20 20 57 | 68 69 6c 65 2c 20 72 63 | Yes. W|hile, rc|
|000043c0| 20 64 6f 65 73 20 6e 6f | 74 20 68 61 76 65 20 61 | does no|t have a|
|000043d0| 20 62 75 69 6c 74 2d 69 | 6e 20 63 73 68 2d 6c 69 | built-i|n csh-li|
|000043e0| 6b 65 20 68 69 73 74 6f | 72 79 0a 20 20 20 20 20 |ke histo|ry. |
|000043f0| 20 20 20 6d 65 63 68 61 | 6e 69 73 6d 2c 20 72 61 | mecha|nism, ra|
|00004400| 74 68 65 72 20 69 74 20 | 69 73 20 61 62 6c 65 20 |ther it |is able |
|00004410| 74 6f 20 77 72 69 74 65 | 20 69 6e 74 65 72 61 63 |to write| interac|
|00004420| 74 69 76 65 20 63 6f 6d | 6d 61 6e 64 73 20 74 6f |tive com|mands to|
|00004430| 20 61 0a 20 20 20 20 20 | 20 20 20 66 69 6c 65 20 | a. | file |
|00004440| 28 73 65 65 20 74 68 65 | 20 68 69 73 74 6f 72 79 |(see the| history|
|00004450| 20 73 70 65 63 69 61 6c | 20 76 61 72 69 61 62 6c | special| variabl|
|00004460| 65 20 69 6e 20 74 68 65 | 20 6d 61 6e 20 70 61 67 |e in the| man pag|
|00004470| 65 29 2c 0a 20 20 20 20 | 20 20 20 20 61 6c 6c 6f |e),. | allo|
|00004480| 77 69 6e 67 20 61 20 68 | 69 73 74 6f 72 79 20 6d |wing a h|istory m|
|00004490| 65 63 68 61 6e 69 73 6d | 20 73 69 6d 69 6c 61 72 |echanism| similar|
|000044a0| 20 74 6f 20 74 68 65 20 | 76 38 20 60 3d 27 20 63 | to the |v8 `=' c|
|000044b0| 6f 6d 6d 61 6e 64 20 74 | 6f 20 62 65 0a 20 20 20 |ommand t|o be. |
|000044c0| 20 20 20 20 20 69 6d 70 | 6c 65 6d 65 6e 74 65 64 | imp|lemented|
|000044d0| 20 61 73 20 61 6e 20 65 | 78 74 65 72 6e 61 6c 20 | as an e|xternal |
|000044e0| 70 72 6f 67 72 61 6d 20 | 28 6f 6e 65 20 73 75 63 |program |(one suc|
|000044f0| 68 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |h implem|entation|
|00004500| 20 69 73 0a 20 20 20 20 | 20 20 20 20 73 75 70 70 | is. | supp|
|00004510| 6c 69 65 64 20 77 69 74 | 68 20 74 68 65 20 73 6f |lied wit|h the so|
|00004520| 75 72 63 65 20 6f 66 20 | 72 63 29 2e 0a 0a 20 20 |urce of |rc)... |
|00004530| 20 20 20 20 20 20 49 6e | 20 50 6c 61 6e 20 39 2c | In| Plan 9,|
|00004540| 20 60 3a 27 20 77 61 73 | 20 74 68 65 20 68 69 73 | `:' was| the his|
|00004550| 74 6f 72 79 20 70 72 6f | 67 72 61 6d 20 28 74 68 |tory pro|gram (th|
|00004560| 65 20 6e 61 6d 65 20 77 | 61 73 20 70 72 6f 62 61 |e name w|as proba|
|00004570| 62 6c 79 0a 20 20 20 20 | 20 20 20 20 63 68 61 6e |bly. | chan|
|00004580| 67 65 64 20 66 72 6f 6d | 20 74 68 65 20 60 3d 27 |ged from| the `='|
|00004590| 20 75 73 65 64 20 69 6e | 20 76 38 20 62 65 63 61 | used in| v8 beca|
|000045a0| 75 73 65 20 60 3d 27 20 | 69 73 20 61 20 73 70 65 |use `=' |is a spe|
|000045b0| 63 69 61 6c 0a 20 20 20 | 20 20 20 20 20 63 68 61 |cial. | cha|
|000045c0| 72 61 63 74 65 72 20 69 | 6e 20 72 63 2c 20 61 6e |racter i|n rc, an|
|000045d0| 64 20 6e 65 65 64 73 20 | 71 75 6f 74 69 6e 67 20 |d needs |quoting |
|000045e0| 69 66 20 69 74 20 72 65 | 66 65 72 73 20 74 6f 20 |if it re|fers to |
|000045f0| 61 20 63 6f 6d 6d 61 6e | 64 29 2e 0a 20 20 20 20 |a comman|d).. |
|00004600| 20 20 20 20 48 6f 77 65 | 76 65 72 2c 20 74 68 69 | Howe|ver, thi|
|00004610| 73 20 66 6f 72 6d 20 6f | 66 20 68 69 73 74 6f 72 |s form o|f histor|
|00004620| 79 20 77 61 73 20 61 70 | 70 61 72 65 6e 74 6c 79 |y was ap|parently|
|00004630| 20 75 73 65 64 20 73 6f | 20 6c 69 74 74 6c 65 20 | used so| little |
|00004640| 74 68 61 74 0a 20 20 20 | 20 20 20 20 20 74 68 65 |that. | the|
|00004650| 20 61 62 69 6c 69 74 79 | 20 74 6f 20 77 72 69 74 | ability| to writ|
|00004660| 65 20 63 6f 6d 6d 61 6e | 64 73 20 74 6f 20 61 20 |e comman|ds to a |
|00004670| 66 69 6c 65 20 77 61 73 | 20 72 65 6d 6f 76 65 64 |file was| removed|
|00004680| 20 66 72 6f 6d 20 44 75 | 66 66 27 73 0a 20 20 20 | from Du|ff's. |
|00004690| 20 20 20 20 20 72 63 2e | 20 20 54 68 65 20 68 69 | rc.| The hi|
|000046a0| 73 74 6f 72 79 20 70 72 | 6f 67 72 61 6d 20 64 69 |story pr|ogram di|
|000046b0| 73 74 72 69 62 75 74 65 | 64 20 77 69 74 68 20 74 |stribute|d with t|
|000046c0| 68 65 20 72 63 20 73 6f | 75 72 63 65 20 69 73 0a |he rc so|urce is.|
|000046d0| 20 20 20 20 20 20 20 20 | 69 6e 76 6f 6b 65 64 20 | |invoked |
|000046e0| 77 69 74 68 20 60 2d 27 | 2e 0a 0a 20 20 20 20 20 |with `-'|... |
|000046f0| 20 20 20 42 6f 74 68 20 | 65 64 69 74 6c 69 6e 65 | Both |editline|
|00004700| 20 61 6e 64 20 72 65 61 | 64 6c 69 6e 65 20 68 61 | and rea|dline ha|
|00004710| 76 65 20 63 6f 6d 6d 61 | 6e 64 20 72 65 63 61 6c |ve comma|nd recal|
|00004720| 6c 2e 0a 0a 34 2e 34 20 | 20 20 20 20 44 6f 65 73 |l...4.4 | Does|
|00004730| 20 72 63 20 68 61 76 65 | 20 66 69 6c 65 20 6e 61 | rc have| file na|
|00004740| 6d 65 20 63 6f 6d 70 6c | 65 74 69 6f 6e 3f 0a 0a |me compl|etion?..|
|00004750| 20 20 20 20 20 20 20 20 | 49 66 20 79 6f 75 20 77 | |If you w|
|00004760| 69 73 68 2e 20 20 50 6c | 61 69 6e 20 72 63 20 64 |ish. Pl|ain rc d|
|00004770| 6f 65 73 20 6e 6f 74 20 | 68 61 76 65 20 66 69 6c |oes not |have fil|
|00004780| 65 20 6e 61 6d 65 20 63 | 6f 6d 70 6c 65 74 69 6f |e name c|ompletio|
|00004790| 6e 20 28 61 73 20 69 74 | 0a 20 20 20 20 20 20 20 |n (as it|. |
|000047a0| 20 6f 62 74 61 69 6e 73 | 20 69 74 73 20 63 6f 6d | obtains| its com|
|000047b0| 6d 61 6e 64 20 69 6e 70 | 75 74 20 77 69 74 68 20 |mand inp|ut with |
|000047c0| 72 65 61 64 29 2c 20 62 | 75 74 20 74 68 65 20 72 |read), b|ut the r|
|000047d0| 65 61 64 6c 69 6e 65 20 | 6c 69 62 72 61 72 79 0a |eadline |library.|
|000047e0| 20 20 20 20 20 20 20 20 | 64 6f 65 73 2e 0a 0a 34 | |does...4|
|000047f0| 2e 35 20 20 20 20 20 44 | 6f 65 73 20 72 63 20 68 |.5 D|oes rc h|
|00004800| 61 76 65 20 68 6f 6d 65 | 20 64 69 72 65 63 74 6f |ave home| directo|
|00004810| 72 79 20 65 78 70 61 6e | 73 69 6f 6e 3f 0a 0a 20 |ry expan|sion?.. |
|00004820| 20 20 20 20 20 20 20 4e | 6f 2e 20 20 54 68 69 73 | N|o. This|
|00004830| 20 68 61 73 20 62 65 65 | 6e 20 68 6f 74 6c 79 20 | has bee|n hotly |
|00004840| 64 65 62 61 74 65 64 20 | 6f 6e 20 74 68 65 20 72 |debated |on the r|
|00004850| 63 20 6d 61 69 6c 69 6e | 67 20 6c 69 73 74 2c 20 |c mailin|g list, |
|00004860| 61 6e 64 20 61 0a 20 20 | 20 20 20 20 20 20 70 61 |and a. | pa|
|00004870| 74 63 68 20 74 6f 20 69 | 6d 70 6c 65 6d 65 6e 74 |tch to i|mplement|
|00004880| 20 74 68 69 73 20 77 61 | 73 20 70 6f 73 74 65 64 | this wa|s posted|
|00004890| 20 74 6f 20 74 68 65 20 | 72 63 20 6d 61 69 6c 69 | to the |rc maili|
|000048a0| 6e 67 20 6c 69 73 74 20 | 69 6e 0a 20 20 20 20 20 |ng list |in. |
|000048b0| 20 20 20 4e 6f 76 65 6d | 62 65 72 20 31 39 39 32 | Novem|ber 1992|
|000048c0| 20 28 73 65 65 20 32 2e | 32 20 61 6e 64 20 31 2e | (see 2.|2 and 1.|
|000048d0| 34 29 2e 0a 0a 34 2e 36 | 20 20 20 20 20 44 6f 65 |4)...4.6| Doe|
|000048e0| 73 20 72 63 20 63 68 65 | 63 6b 20 66 6f 72 20 6e |s rc che|ck for n|
|000048f0| 65 77 20 6d 61 69 6c 3f | 0a 0a 20 20 20 20 20 20 |ew mail?|.. |
|00004900| 20 20 4e 6f 2e 20 20 48 | 6f 77 65 76 65 72 2c 20 | No. H|owever, |
|00004910| 79 6f 75 20 63 61 6e 20 | 6d 61 6b 65 20 69 74 20 |you can |make it |
|00004920| 64 6f 20 73 6f 20 77 69 | 74 68 20 74 68 65 20 66 |do so wi|th the f|
|00004930| 6f 6c 6c 6f 77 69 6e 67 | 20 70 72 6f 6d 70 74 0a |ollowing| prompt.|
|00004940| 20 20 20 20 20 20 20 20 | 66 75 6e 63 74 69 6f 6e | |function|
|00004950| 3a 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 66 |:.. | f|
|00004960| 6e 20 70 72 6f 6d 70 74 | 20 7b 20 6d 61 69 6c 20 |n prompt| { mail |
|00004970| 2d 65 20 26 26 20 65 63 | 68 6f 20 59 6f 75 20 68 |-e && ec|ho You h|
|00004980| 61 76 65 20 6d 61 69 6c | 2e 20 7d 0a 0a 20 20 20 |ave mail|. }.. |
|00004990| 20 20 20 20 20 41 6c 74 | 65 72 6e 61 74 69 76 65 | Alt|ernative|
|000049a0| 6c 79 2c 20 63 6f 6e 73 | 69 64 65 72 20 75 73 69 |ly, cons|ider usi|
|000049b0| 6e 67 20 62 69 66 66 20 | 6f 72 20 78 62 69 66 66 |ng biff |or xbiff|
|000049c0| 2e 0a 0a 34 2e 37 20 20 | 20 20 20 44 6f 65 73 20 |...4.7 | Does |
|000049d0| 72 63 20 68 61 76 65 20 | 68 69 65 72 61 72 63 68 |rc have |hierarch|
|000049e0| 69 63 61 6c 20 6c 69 73 | 74 73 3f 0a 0a 20 20 20 |ical lis|ts?.. |
|000049f0| 20 20 20 20 20 4e 6f 2e | 20 20 45 61 63 68 20 65 | No.| Each e|
|00004a00| 6c 65 6d 65 6e 74 20 6f | 66 20 61 6e 20 72 63 20 |lement o|f an rc |
|00004a10| 6c 69 73 74 20 6d 75 73 | 74 20 62 65 20 61 20 73 |list mus|t be a s|
|00004a20| 74 72 69 6e 67 2c 20 61 | 6e 64 20 63 61 6e 6e 6f |tring, a|nd canno|
|00004a30| 74 20 62 65 0a 20 20 20 | 20 20 20 20 20 61 6e 6f |t be. | ano|
|00004a40| 74 68 65 72 20 6c 69 73 | 74 2e 20 20 57 68 65 6e |ther lis|t. When|
|00004a50| 65 76 65 72 20 61 20 6c | 69 73 74 20 61 70 70 65 |ever a l|ist appe|
|00004a60| 61 72 73 20 69 6e 73 69 | 64 65 20 61 6e 6f 74 68 |ars insi|de anoth|
|00004a70| 65 72 20 6c 69 73 74 2c | 20 69 74 0a 20 20 20 20 |er list,| it. |
|00004a80| 20 20 20 20 69 73 20 65 | 78 70 61 6e 64 65 64 20 | is e|xpanded |
|00004a90| 73 6f 20 74 68 61 74 20 | 74 68 65 20 6f 75 74 65 |so that |the oute|
|00004aa0| 72 20 6c 69 73 74 20 63 | 6f 6e 74 61 69 6e 73 20 |r list c|ontains |
|00004ab0| 69 74 73 20 65 6c 65 6d | 65 6e 74 73 2e 0a 20 20 |its elem|ents.. |
|00004ac0| 20 20 20 20 20 20 53 69 | 6d 69 6c 61 72 6c 79 2c | Si|milarly,|
|00004ad0| 20 77 68 65 6e 65 76 65 | 72 20 74 77 6f 20 6c 69 | wheneve|r two li|
|00004ae0| 73 74 73 20 61 72 65 20 | 61 64 6a 61 63 65 6e 74 |sts are |adjacent|
|00004af0| 2c 20 74 68 65 79 20 61 | 72 65 0a 20 20 20 20 20 |, they a|re. |
|00004b00| 20 20 20 63 6f 6e 63 61 | 74 65 6e 61 74 65 64 20 | conca|tenated |
|00004b10| 74 6f 20 66 6f 72 6d 20 | 61 20 73 69 6e 67 6c 65 |to form |a single|
|00004b20| 20 6c 69 73 74 20 28 77 | 69 74 68 20 6f 6e 65 20 | list (w|ith one |
|00004b30| 65 78 63 65 70 74 69 6f | 6e 29 2e 0a 0a 20 20 20 |exceptio|n)... |
|00004b40| 20 20 20 20 20 49 6e 20 | 72 63 20 74 65 72 6d 73 | In |rc terms|
|00004b50| 2c 20 74 68 65 20 61 72 | 67 75 6d 65 6e 74 73 20 |, the ar|guments |
|00004b60| 74 6f 20 61 20 63 6f 6d | 6d 61 6e 64 20 66 6f 72 |to a com|mand for|
|00004b70| 6d 20 61 20 6c 69 73 74 | 2c 20 65 76 65 6e 20 74 |m a list|, even t|
|00004b80| 68 6f 75 67 68 0a 20 20 | 20 20 20 20 20 20 74 68 |hough. | th|
|00004b90| 65 79 20 6d 61 79 20 6e | 6f 74 20 68 61 76 65 20 |ey may n|ot have |
|00004ba0| 65 78 70 6c 69 63 69 74 | 20 60 28 27 20 61 6e 64 |explicit| `(' and|
|00004bb0| 20 60 29 27 20 64 65 6c | 69 6d 69 74 65 72 73 20 | `)' del|imiters |
|00004bc0| 61 72 6f 75 6e 64 20 74 | 68 65 6d 2e 0a 20 20 20 |around t|hem.. |
|00004bd0| 20 20 20 20 20 48 69 65 | 72 61 72 63 68 69 63 61 | Hie|rarchica|
|00004be0| 6c 20 6c 69 73 74 73 20 | 64 6f 20 6e 6f 74 20 63 |l lists |do not c|
|00004bf0| 6f 72 72 65 73 70 6f 6e | 64 20 77 65 6c 6c 20 74 |orrespon|d well t|
|00004c00| 6f 20 74 68 65 20 60 63 | 68 61 72 20 2a 2a 61 72 |o the `c|har **ar|
|00004c10| 67 76 27 0a 20 20 20 20 | 20 20 20 20 6d 6f 64 65 |gv'. | mode|
|00004c20| 6c 20 66 6f 72 20 61 72 | 67 75 6d 65 6e 74 73 20 |l for ar|guments |
|00004c30| 74 6f 20 55 4e 49 58 20 | 63 6f 6d 6d 61 6e 64 73 |to UNIX |commands|
|00004c40| 2c 20 61 6c 74 68 6f 75 | 67 68 20 73 69 6d 70 6c |, althou|gh simpl|
|00004c50| 65 20 6c 69 73 74 73 20 | 64 6f 2e 0a 0a 20 20 20 |e lists |do... |
|00004c60| 20 20 20 20 20 54 68 65 | 20 73 69 6e 67 6c 65 20 | The| single |
|00004c70| 65 78 63 65 70 74 69 6f | 6e 20 74 6f 20 74 68 65 |exceptio|n to the|
|00004c80| 73 65 20 72 75 6c 65 73 | 20 61 72 65 20 74 68 65 |se rules| are the|
|00004c90| 20 61 72 67 75 6d 65 6e | 74 73 20 74 6f 20 74 68 | argumen|ts to th|
|00004ca0| 65 20 60 7e 27 0a 20 20 | 20 20 20 20 20 20 62 75 |e `~'. | bu|
|00004cb0| 69 6c 74 2d 69 6e 20 63 | 6f 6d 6d 61 6e 64 2c 20 |ilt-in c|ommand, |
|00004cc0| 77 68 69 63 68 20 72 63 | 20 69 6e 74 65 72 70 72 |which rc| interpr|
|00004cd0| 65 74 73 20 61 73 20 74 | 77 6f 20 6c 69 73 74 73 |ets as t|wo lists|
|00004ce0| 20 2d 2d 20 61 20 73 75 | 62 6a 65 63 74 0a 20 20 | -- a su|bject. |
|00004cf0| 20 20 20 20 20 20 6c 69 | 73 74 20 61 6e 64 20 61 | li|st and a|
|00004d00| 20 70 61 74 74 65 72 6e | 20 6c 69 73 74 2e 20 20 | pattern| list. |
|00004d10| 4e 6f 72 6d 61 6c 20 65 | 78 70 61 6e 73 69 6f 6e |Normal e|xpansion|
|00004d20| 20 61 6e 64 20 63 6f 6e | 63 61 74 65 6e 61 74 69 | and con|catenati|
|00004d30| 6f 6e 20 69 73 0a 20 20 | 20 20 20 20 20 20 70 65 |on is. | pe|
|00004d40| 72 66 6f 72 6d 65 64 20 | 6f 6e 20 74 68 65 20 74 |rformed |on the t|
|00004d50| 77 6f 20 6c 69 73 74 73 | 20 73 65 70 61 72 61 74 |wo lists| separat|
|00004d60| 65 6c 79 2e 20 20 41 20 | 63 6f 6e 73 65 71 75 65 |ely. A |conseque|
|00004d70| 6e 63 65 20 6f 66 20 74 | 68 69 73 20 69 73 0a 20 |nce of t|his is. |
|00004d80| 20 20 20 20 20 20 20 74 | 68 61 74 20 74 68 65 20 | t|hat the |
|00004d90| 66 6f 6c 6c 6f 77 69 6e | 67 20 63 6f 6d 6d 61 6e |followin|g comman|
|00004da0| 64 3a 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |d:.. | |
|00004db0| 20 20 20 20 69 66 20 28 | 20 7e 20 24 31 20 28 29 | if (| ~ $1 ()|
|00004dc0| 20 27 27 20 29 20 2e 2e | 2e 0a 0a 20 20 20 20 20 | '' ) ..|... |
|00004dd0| 20 20 20 64 6f 65 73 20 | 6e 6f 74 20 63 68 65 63 | does |not chec|
|00004de0| 6b 20 69 66 20 24 31 20 | 69 73 20 65 69 74 68 65 |k if $1 |is eithe|
|00004df0| 72 20 74 68 65 20 6e 75 | 6c 6c 20 6c 69 73 74 20 |r the nu|ll list |
|00004e00| 6f 72 20 74 68 65 20 6e | 75 6c 6c 20 73 74 72 69 |or the n|ull stri|
|00004e10| 6e 67 2c 0a 20 20 20 20 | 20 20 20 20 61 73 20 6e |ng,. | as n|
|00004e20| 6f 72 6d 61 6c 20 6c 69 | 73 74 20 63 6f 6e 63 61 |ormal li|st conca|
|00004e30| 74 65 6e 61 74 69 6f 6e | 20 6f 63 63 75 72 73 20 |tenation| occurs |
|00004e40| 6f 6e 20 74 68 65 20 70 | 61 74 74 65 72 6e 20 6c |on the p|attern l|
|00004e50| 69 73 74 20 6c 65 61 64 | 69 6e 67 0a 20 20 20 20 |ist lead|ing. |
|00004e60| 20 20 20 20 74 6f 20 61 | 20 70 61 74 74 65 72 6e | to a| pattern|
|00004e70| 20 6c 69 73 74 20 77 69 | 74 68 20 6f 6e 65 20 65 | list wi|th one e|
|00004e80| 6c 65 6d 65 6e 74 20 2d | 2d 20 74 68 65 20 6e 75 |lement -|- the nu|
|00004e90| 6c 6c 20 73 74 72 69 6e | 67 2e 0a 0a 34 2e 38 20 |ll strin|g...4.8 |
|00004ea0| 20 20 20 20 44 6f 65 73 | 20 72 63 20 68 61 76 65 | Does| rc have|
|00004eb0| 20 63 61 72 74 65 73 69 | 61 6e 20 70 72 6f 64 75 | cartesi|an produ|
|00004ec0| 63 74 73 3f 0a 0a 20 20 | 20 20 20 20 20 20 4e 6f |cts?.. | No|
|00004ed0| 2e 20 20 49 66 20 79 6f | 75 20 72 65 61 6c 6c 79 |. If yo|u really|
|00004ee0| 20 6e 65 65 64 20 74 68 | 65 6d 2c 20 74 68 65 79 | need th|em, they|
|00004ef0| 20 63 61 6e 20 62 65 20 | 6f 62 74 61 69 6e 65 64 | can be |obtained|
|00004f00| 20 69 6e 20 74 68 65 0a | 20 20 20 20 20 20 20 20 | in the.| |
|00004f10| 66 6f 6c 6c 6f 77 69 6e | 67 20 6d 61 6e 6e 65 72 |followin|g manner|
|00004f20| 3a 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 3b |:.. | ;|
|00004f30| 20 78 20 3d 20 28 61 20 | 62 20 63 29 0a 20 20 20 | x = (a |b c). |
|00004f40| 20 20 20 20 20 20 20 20 | 20 3b 20 79 20 3d 20 28 | | ; y = (|
|00004f50| 31 20 32 20 33 29 0a 20 | 20 20 20 20 20 20 20 20 |1 2 3). | |
|00004f60| 20 20 20 3b 20 70 72 6f | 64 75 63 74 20 3d 20 28 | ; pro|duct = (|
|00004f70| 29 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 |). | ; |
|00004f80| 66 6f 72 20 28 20 65 6c | 65 6d 20 69 6e 20 24 78 |for ( el|em in $x|
|00004f90| 20 29 20 70 72 6f 64 75 | 63 74 20 3d 20 28 20 24 | ) produ|ct = ( $|
|00004fa0| 70 72 6f 64 75 63 74 20 | 24 65 6c 65 6d 5e 24 79 |product |$elem^$y|
|00004fb0| 20 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | ). | ;|
|00004fc0| 20 65 63 68 6f 20 24 70 | 72 6f 64 75 63 74 0a 20 | echo $p|roduct. |
|00004fd0| 20 20 20 20 20 20 20 20 | 20 20 20 61 31 20 61 32 | | a1 a2|
|00004fe0| 20 61 33 20 62 31 20 62 | 32 20 62 33 20 63 31 20 | a3 b1 b|2 b3 c1 |
|00004ff0| 63 32 20 63 33 0a 0a 20 | 20 20 20 20 20 20 20 72 |c2 c3.. | r|
|00005000| 63 27 73 20 63 6f 6e 63 | 61 74 65 6e 61 74 69 6f |c's conc|atenatio|
|00005010| 6e 20 6f 70 65 72 61 74 | 6f 72 20 77 6f 72 6b 73 |n operat|or works|
|00005020| 20 69 6e 20 61 20 64 69 | 73 74 72 69 62 75 74 69 | in a di|stributi|
|00005030| 76 65 20 6d 61 6e 6e 65 | 72 20 69 66 0a 20 20 20 |ve manne|r if. |
|00005040| 20 20 20 20 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 | one| of the |
|00005050| 6c 69 73 74 73 20 68 61 | 73 20 6f 6e 6c 79 20 61 |lists ha|s only a|
|00005060| 20 73 69 6e 67 6c 65 20 | 65 6c 65 6d 65 6e 74 20 | single |element |
|00005070| 61 6e 64 20 69 6e 20 61 | 20 70 61 69 72 77 69 73 |and in a| pairwis|
|00005080| 65 0a 20 20 20 20 20 20 | 20 20 6d 61 6e 6e 65 72 |e. | manner|
|00005090| 20 69 66 20 62 6f 74 68 | 20 6c 69 73 74 73 20 68 | if both| lists h|
|000050a0| 61 76 65 20 74 68 65 20 | 73 61 6d 65 20 6e 75 6d |ave the |same num|
|000050b0| 62 65 72 20 6f 66 20 65 | 6c 65 6d 65 6e 74 73 3a |ber of e|lements:|
|000050c0| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 |.. | ; |
|000050d0| 65 63 68 6f 20 61 5e 28 | 20 78 20 79 20 7a 20 29 |echo a^(| x y z )|
|000050e0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 61 78 20 |. | ax |
|000050f0| 61 79 20 61 7a 0a 20 20 | 20 20 20 20 20 20 20 20 |ay az. | |
|00005100| 20 20 3b 20 65 63 68 6f | 20 28 20 61 20 62 20 63 | ; echo| ( a b c|
|00005110| 20 29 5e 28 20 78 20 79 | 20 7a 20 29 0a 20 20 20 | )^( x y| z ). |
|00005120| 20 20 20 20 20 20 20 20 | 20 61 78 20 62 79 20 63 | | ax by c|
|00005130| 7a 0a 0a 34 2e 39 20 20 | 20 20 20 44 6f 65 73 20 |z..4.9 | Does |
|00005140| 72 63 20 63 61 63 68 65 | 20 74 68 65 20 6c 6f 63 |rc cache| the loc|
|00005150| 61 74 69 6f 6e 20 6f 66 | 20 65 78 65 63 75 74 61 |ation of| executa|
|00005160| 62 6c 65 73 20 69 6e 20 | 74 68 65 20 70 61 74 68 |bles in |the path|
|00005170| 3f 0a 0a 20 20 20 20 20 | 20 20 20 4e 6f 2e 20 20 |?.. | No. |
|00005180| 54 68 69 73 20 68 61 73 | 20 62 65 65 6e 20 64 69 |This has| been di|
|00005190| 73 63 75 73 73 65 64 20 | 6f 6e 20 74 68 65 20 6d |scussed |on the m|
|000051a0| 61 69 6c 69 6e 67 20 6c | 69 73 74 2e 20 20 41 73 |ailing l|ist. As|
|000051b0| 20 66 61 72 20 61 73 20 | 6f 6e 65 0a 20 20 20 20 | far as |one. |
|000051c0| 20 20 20 20 63 61 6e 20 | 67 65 6e 65 72 61 6c 69 | can |generali|
|000051d0| 7a 65 2c 20 73 65 61 72 | 63 68 69 6e 67 20 74 68 |ze, sear|ching th|
|000051e0| 65 20 70 61 74 68 20 69 | 73 20 6e 6f 74 20 61 20 |e path i|s not a |
|000051f0| 70 65 72 66 6f 72 6d 61 | 6e 63 65 0a 20 20 20 20 |performa|nce. |
|00005200| 20 20 20 20 62 6f 74 74 | 6c 65 6e 65 63 6b 20 6f | bott|leneck o|
|00005210| 6e 20 6d 6f 73 74 20 6d | 6f 64 65 72 6e 20 55 4e |n most m|odern UN|
|00005220| 49 58 20 73 79 73 74 65 | 6d 73 2e 0a 0a 34 2e 31 |IX syste|ms...4.1|
|00005230| 30 20 20 20 20 44 6f 65 | 73 20 72 63 20 68 61 76 |0 Doe|s rc hav|
|00005240| 65 20 43 2d 73 74 79 6c | 65 20 5c 20 65 73 63 61 |e C-styl|e \ esca|
|00005250| 70 65 73 3f 0a 0a 20 20 | 20 20 20 20 20 20 4e 6f |pes?.. | No|
|00005260| 2e 20 20 4f 6e 65 20 6f | 66 20 74 68 65 20 6d 6f |. One o|f the mo|
|00005270| 73 74 20 61 74 74 72 61 | 63 74 69 76 65 20 66 65 |st attra|ctive fe|
|00005280| 61 74 75 72 65 73 20 6f | 66 20 72 63 20 69 73 20 |atures o|f rc is |
|00005290| 69 74 73 20 73 69 6e 67 | 6c 65 0a 20 20 20 20 20 |its sing|le. |
|000052a0| 20 20 20 71 75 6f 74 69 | 6e 67 20 72 75 6c 65 2e | quoti|ng rule.|
|000052b0| 0a 0a 20 20 20 20 20 20 | 20 20 49 66 20 79 6f 75 |.. | If you|
|000052c0| 20 6e 65 65 64 20 74 6f | 20 65 6d 62 65 64 20 63 | need to| embed c|
|000052d0| 6f 6e 74 72 6f 6c 20 63 | 68 61 72 61 63 74 65 72 |ontrol c|haracter|
|000052e0| 73 20 69 6e 20 79 6f 75 | 72 20 73 74 72 69 6e 67 |s in you|r string|
|000052f0| 73 2c 0a 20 20 20 20 20 | 20 20 20 69 6e 76 65 73 |s,. | inves|
|00005300| 74 69 67 61 74 65 20 74 | 72 20 61 6e 64 20 70 72 |tigate t|r and pr|
|00005310| 69 6e 74 66 20 28 73 65 | 65 20 37 2e 33 20 69 66 |intf (se|e 7.3 if|
|00005320| 20 79 6f 75 72 20 73 79 | 73 74 65 6d 20 6c 61 63 | your sy|stem lac|
|00005330| 6b 73 20 74 68 65 0a 20 | 20 20 20 20 20 20 20 6c |ks the. | l|
|00005340| 61 74 74 65 72 29 2e 0a | 0a 34 2e 31 31 20 20 20 |atter)..|.4.11 |
|00005350| 20 44 6f 65 73 20 72 63 | 20 68 61 76 65 20 2e 2e | Does rc| have ..|
|00005360| 2e 20 62 75 69 6c 74 20 | 69 6e 3f 0a 0a 20 20 20 |. built |in?.. |
|00005370| 20 20 20 20 20 49 74 20 | 69 73 20 6e 6f 74 20 62 | It |is not b|
|00005380| 79 20 61 63 63 69 64 65 | 6e 74 20 74 68 61 74 20 |y accide|nt that |
|00005390| 72 63 20 68 61 73 20 66 | 65 77 65 72 20 62 75 69 |rc has f|ewer bui|
|000053a0| 6c 74 2d 69 6e 20 63 6f | 6d 6d 61 6e 64 73 20 74 |lt-in co|mmands t|
|000053b0| 68 61 6e 0a 20 20 20 20 | 20 20 20 20 6d 6f 73 74 |han. | most|
|000053c0| 20 73 68 65 6c 6c 73 20 | 6f 74 68 65 72 20 74 68 | shells |other th|
|000053d0| 61 6e 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |an the o|riginal |
|000053e0| 42 6f 75 72 6e 65 20 73 | 68 65 6c 6c 2e 20 20 54 |Bourne s|hell. T|
|000053f0| 68 65 0a 20 20 20 20 20 | 20 20 20 75 6e 64 65 72 |he. | under|
|00005400| 6c 79 69 6e 67 20 70 68 | 69 6c 6f 73 6f 70 68 79 |lying ph|ilosophy|
|00005410| 2c 20 65 6c 6f 71 75 65 | 6e 74 6c 79 20 73 75 6d |, eloque|ntly sum|
|00005420| 6d 61 72 69 7a 65 64 20 | 62 79 20 42 6f 79 64 20 |marized |by Boyd |
|00005430| 52 6f 62 65 72 74 73 2c | 20 69 73 0a 20 20 20 20 |Roberts,| is. |
|00005440| 20 20 20 20 74 68 61 74 | 20 61 20 73 68 65 6c 6c | that| a shell|
|00005450| 20 69 73 20 74 68 65 72 | 65 20 74 6f 20 72 75 6e | is ther|e to run|
|00005460| 20 6f 74 68 65 72 20 70 | 72 6f 67 72 61 6d 73 2c | other p|rograms,|
|00005470| 20 6e 6f 74 20 74 6f 20 | 68 61 76 65 20 6f 74 68 | not to |have oth|
|00005480| 65 72 0a 20 20 20 20 20 | 20 20 20 70 72 6f 67 72 |er. | progr|
|00005490| 61 6d 73 20 62 75 69 6c | 74 20 69 6e 74 6f 20 69 |ams buil|t into i|
|000054a0| 74 2e 20 20 42 79 20 68 | 61 76 69 6e 67 20 61 20 |t. By h|aving a |
|000054b0| 77 65 6c 6c 2d 64 65 66 | 69 6e 65 64 20 72 6f 6c |well-def|ined rol|
|000054c0| 65 2c 20 72 63 20 68 61 | 73 0a 20 20 20 20 20 20 |e, rc ha|s. |
|000054d0| 20 20 72 65 6d 61 69 6e | 65 64 20 73 6d 61 6c 6c | remain|ed small|
|000054e0| 20 61 6e 64 20 73 69 6d | 70 6c 65 2c 20 70 72 6f | and sim|ple, pro|
|000054f0| 70 65 72 74 69 65 73 20 | 74 68 61 74 20 6c 65 61 |perties |that lea|
|00005500| 64 20 74 6f 20 62 65 74 | 74 65 72 0a 20 20 20 20 |d to bet|ter. |
|00005510| 20 20 20 20 70 65 72 66 | 6f 72 6d 61 6e 63 65 2c | perf|ormance,|
|00005520| 20 66 65 77 65 72 20 62 | 75 67 73 2c 20 61 6e 64 | fewer b|ugs, and|
|00005530| 20 61 20 6d 6f 72 65 20 | 74 68 6f 72 6f 75 67 68 | a more |thorough|
|00005540| 20 75 6e 64 65 72 73 74 | 61 6e 64 69 6e 67 20 6f | underst|anding o|
|00005550| 66 0a 20 20 20 20 20 20 | 20 20 74 68 65 20 73 68 |f. | the sh|
|00005560| 65 6c 6c 20 62 79 20 69 | 74 73 20 75 73 65 72 73 |ell by i|ts users|
|00005570| 2e 0a 0a 20 20 20 20 20 | 20 20 20 4d 6f 73 74 20 |... | Most |
|00005580| 6f 66 20 74 68 65 20 72 | 63 20 62 75 69 6c 74 2d |of the r|c built-|
|00005590| 69 6e 20 63 6f 6d 6d 61 | 6e 64 73 20 70 65 72 66 |in comma|nds perf|
|000055a0| 6f 72 6d 20 66 75 6e 63 | 74 69 6f 6e 73 20 74 68 |orm func|tions th|
|000055b0| 61 74 20 61 72 65 0a 20 | 20 20 20 20 20 20 20 65 |at are. | e|
|000055c0| 73 73 65 6e 74 69 61 6c | 20 66 6f 72 20 61 20 73 |ssential| for a s|
|000055d0| 68 65 6c 6c 20 61 6e 64 | 20 63 61 6e 6e 6f 74 20 |hell and| cannot |
|000055e0| 62 65 20 70 65 72 66 6f | 72 6d 65 64 20 62 79 20 |be perfo|rmed by |
|000055f0| 65 78 74 65 72 6e 61 6c | 0a 20 20 20 20 20 20 20 |external|. |
|00005600| 20 70 72 6f 67 72 61 6d | 73 20 28 65 2e 67 2e 2c | program|s (e.g.,|
|00005610| 20 63 64 2c 20 65 76 61 | 6c 2c 20 6c 69 6d 69 74 | cd, eva|l, limit|
|00005620| 2c 20 75 6d 61 73 6b 2c | 20 77 61 69 74 29 2e 0a |, umask,| wait)..|
|00005630| 0a 20 20 20 20 20 20 20 | 20 72 63 20 64 6f 65 73 |. | rc does|
|00005640| 20 69 6e 63 6c 75 64 65 | 20 68 6f 6f 6b 73 20 66 | include| hooks f|
|00005650| 6f 72 20 75 73 65 72 73 | 20 74 6f 20 61 64 64 20 |or users| to add |
|00005660| 6e 65 77 20 62 75 69 6c | 74 2d 69 6e 20 63 6f 6d |new buil|t-in com|
|00005670| 6d 61 6e 64 73 2c 0a 20 | 20 20 20 20 20 20 20 61 |mands,. | a|
|00005680| 6e 64 20 74 68 65 73 65 | 20 68 61 76 65 20 62 65 |nd these| have be|
|00005690| 65 6e 20 75 73 65 64 20 | 74 6f 20 61 64 64 20 74 |en used |to add t|
|000056a0| 65 73 74 2c 20 61 63 63 | 65 73 73 2c 20 6b 69 6c |est, acc|ess, kil|
|000056b0| 6c 2c 20 72 65 61 64 2c | 20 61 6e 64 0a 20 20 20 |l, read,| and. |
|000056c0| 20 20 20 20 20 65 76 65 | 6e 20 73 79 6e 63 20 61 | eve|n sync a|
|000056d0| 6e 64 20 68 61 6c 74 73 | 79 73 20 63 6f 6d 6d 61 |nd halts|ys comma|
|000056e0| 6e 64 73 20 28 73 65 65 | 20 74 68 65 20 6d 61 69 |nds (see| the mai|
|000056f0| 6c 69 6e 67 20 6c 69 73 | 74 20 61 6e 64 20 74 68 |ling lis|t and th|
|00005700| 65 0a 20 20 20 20 20 20 | 20 20 65 78 61 6d 70 6c |e. | exampl|
|00005710| 65 73 20 66 69 6c 65 20 | 66 6f 72 20 6d 6f 72 65 |es file |for more|
|00005720| 20 64 65 74 61 69 6c 73 | 29 2e 20 20 53 75 63 68 | details|). Such|
|00005730| 20 61 64 64 69 74 69 6f | 6e 73 20 61 72 65 20 75 | additio|ns are u|
|00005740| 6e 73 75 70 70 6f 72 74 | 65 64 0a 20 20 20 20 20 |nsupport|ed. |
|00005750| 20 20 20 61 6e 64 20 70 | 6f 74 65 6e 74 69 61 6c | and p|otential|
|00005760| 6c 79 20 75 6e 70 6f 72 | 74 61 62 6c 65 2e 0a 0a |ly unpor|table...|
|00005770| 34 2e 31 32 20 20 20 20 | 44 6f 65 73 20 72 63 20 |4.12 |Does rc |
|00005780| 68 61 76 65 20 65 63 68 | 6f 20 62 75 69 6c 74 20 |have ech|o built |
|00005790| 69 6e 3f 0a 0a 20 20 20 | 20 20 20 20 20 49 66 20 |in?.. | If |
|000057a0| 79 6f 75 20 77 69 73 68 | 2e 20 20 57 68 69 6c 65 |you wish|. While|
|000057b0| 20 6d 6f 73 74 20 6f 66 | 20 72 63 27 73 20 62 75 | most of| rc's bu|
|000057c0| 69 6c 74 2d 69 6e 20 63 | 6f 6d 6d 61 6e 64 73 20 |ilt-in c|ommands |
|000057d0| 63 6f 75 6c 64 20 6e 6f | 74 0a 20 20 20 20 20 20 |could no|t. |
|000057e0| 20 20 65 61 73 69 6c 79 | 20 62 65 20 72 65 70 6c | easily| be repl|
|000057f0| 61 63 65 64 20 62 79 20 | 65 78 74 65 72 6e 61 6c |aced by |external|
|00005800| 20 63 6f 6d 6d 61 6e 64 | 73 2c 20 65 63 68 6f 20 | command|s, echo |
|00005810| 69 73 20 74 68 65 20 6f | 6e 65 0a 20 20 20 20 20 |is the o|ne. |
|00005820| 20 20 20 65 78 63 65 70 | 74 69 6f 6e 2e 20 20 54 | excep|tion. T|
|00005830| 68 65 20 6a 75 73 74 69 | 66 69 63 61 74 69 6f 6e |he justi|fication|
|00005840| 20 69 73 20 74 68 61 74 | 20 65 63 68 6f 20 69 73 | is that| echo is|
|00005850| 20 75 73 65 64 20 73 6f | 20 6d 75 63 68 20 74 68 | used so| much th|
|00005860| 61 74 0a 20 20 20 20 20 | 20 20 20 70 72 6f 76 69 |at. | provi|
|00005870| 64 69 6e 67 20 69 74 20 | 61 73 20 61 20 62 75 69 |ding it |as a bui|
|00005880| 6c 74 2d 69 6e 20 63 6f | 6d 6d 61 6e 64 20 72 65 |lt-in co|mmand re|
|00005890| 73 75 6c 74 73 20 69 6e | 20 61 20 73 69 67 6e 69 |sults in| a signi|
|000058a0| 66 69 63 61 6e 74 20 67 | 61 69 6e 0a 20 20 20 20 |ficant g|ain. |
|000058b0| 20 20 20 20 69 6e 20 70 | 65 72 66 6f 72 6d 61 6e | in p|erforman|
|000058c0| 63 65 2c 20 61 6c 74 68 | 6f 75 67 68 20 74 68 69 |ce, alth|ough thi|
|000058d0| 73 20 6f 70 69 6e 69 6f | 6e 20 69 73 20 62 79 20 |s opinio|n is by |
|000058e0| 6e 6f 20 6d 65 61 6e 73 | 20 75 6e 69 76 65 72 73 |no means| univers|
|000058f0| 61 6c 6c 79 0a 20 20 20 | 20 20 20 20 20 68 65 6c |ally. | hel|
|00005900| 64 2e 20 20 42 79 20 64 | 65 66 61 75 6c 74 2c 20 |d. By d|efault, |
|00005910| 65 63 68 6f 20 69 73 20 | 62 75 69 6c 74 20 69 6e |echo is |built in|
|00005920| 2e 0a 0a 20 20 20 20 20 | 20 20 20 49 74 20 68 61 |... | It ha|
|00005930| 73 20 61 6c 73 6f 20 62 | 65 65 6e 20 6e 6f 74 65 |s also b|een note|
|00005940| 64 20 74 68 61 74 20 72 | 63 27 73 20 65 63 68 6f |d that r|c's echo|
|00005950| 20 69 73 20 6d 6f 72 65 | 20 70 6f 72 74 61 62 6c | is more| portabl|
|00005960| 65 20 74 68 61 74 0a 20 | 20 20 20 20 20 20 20 2f |e that. | /|
|00005970| 62 69 6e 2f 65 63 68 6f | 2c 20 61 73 20 74 68 65 |bin/echo|, as the|
|00005980| 20 76 37 20 61 6e 64 20 | 53 59 53 56 20 69 6d 70 | v7 and |SYSV imp|
|00005990| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 73 20 6f 66 20 |lementat|ions of |
|000059a0| 65 63 68 6f 20 64 69 66 | 66 65 72 20 69 6e 0a 20 |echo dif|fer in. |
|000059b0| 20 20 20 20 20 20 20 74 | 68 65 20 6d 65 74 68 6f | t|he metho|
|000059c0| 64 20 74 68 61 74 20 6d | 75 73 74 20 62 65 20 75 |d that m|ust be u|
|000059d0| 73 65 64 20 74 6f 20 73 | 75 70 70 72 65 73 73 20 |sed to s|uppress |
|000059e0| 74 68 65 20 66 69 6e 61 | 6c 20 6e 65 77 6c 69 6e |the fina|l newlin|
|000059f0| 65 2e 0a 20 20 20 20 20 | 20 20 20 28 48 6f 77 65 |e.. | (Howe|
|00005a00| 76 65 72 2c 20 72 63 27 | 73 20 65 63 68 6f 20 64 |ver, rc'|s echo d|
|00005a10| 69 66 66 65 72 73 20 66 | 72 6f 6d 20 62 6f 74 68 |iffers f|rom both|
|00005a20| 2c 20 61 73 20 69 74 20 | 75 73 65 73 20 60 2d 2d |, as it |uses `--|
|00005a30| 27 20 74 6f 0a 20 20 20 | 20 20 20 20 20 69 6e 64 |' to. | ind|
|00005a40| 69 63 61 74 65 20 74 68 | 61 74 20 61 6c 6c 20 6f |icate th|at all o|
|00005a50| 74 68 65 72 20 61 72 67 | 75 6d 65 6e 74 73 20 61 |ther arg|uments a|
|00005a60| 72 65 20 74 6f 20 62 65 | 20 65 63 68 6f 65 64 20 |re to be| echoed |
|00005a70| 6c 69 74 65 72 61 6c 6c | 79 2e 29 0a 0a 20 20 20 |literall|y.).. |
|00005a80| 20 20 20 20 20 50 65 6f | 70 6c 65 20 77 68 6f 20 | Peo|ple who |
|00005a90| 64 69 73 6c 69 6b 65 20 | 74 68 65 20 6e 6f 74 69 |dislike |the noti|
|00005aa0| 6f 6e 20 6f 66 20 61 20 | 62 75 69 6c 74 2d 69 6e |on of a |built-in|
|00005ab0| 20 65 63 68 6f 20 63 6f | 6d 6d 61 6e 64 20 68 61 | echo co|mmand ha|
|00005ac0| 76 65 0a 20 20 20 20 20 | 20 20 20 74 68 65 20 6f |ve. | the o|
|00005ad0| 70 74 69 6f 6e 20 6f 66 | 20 65 78 63 6c 75 64 69 |ption of| excludi|
|00005ae0| 6e 67 20 69 74 20 66 72 | 6f 6d 20 74 68 65 20 63 |ng it fr|om the c|
|00005af0| 6f 6d 70 69 6c 61 74 69 | 6f 6e 2e 20 20 41 6c 74 |ompilati|on. Alt|
|00005b00| 65 72 6e 61 74 69 76 65 | 6c 79 2c 0a 20 20 20 20 |ernative|ly,. |
|00005b10| 20 20 20 20 74 68 65 20 | 62 75 69 6c 74 2d 69 6e | the |built-in|
|00005b20| 20 65 63 68 6f 20 63 61 | 6e 20 62 65 20 73 75 62 | echo ca|n be sub|
|00005b30| 76 65 72 74 65 64 20 77 | 69 74 68 20 74 68 65 20 |verted w|ith the |
|00005b40| 66 6f 6c 6c 6f 77 69 6e | 67 20 66 75 6e 63 74 69 |followin|g functi|
|00005b50| 6f 6e 2c 0a 20 20 20 20 | 20 20 20 20 61 6c 74 68 |on,. | alth|
|00005b60| 6f 75 67 68 20 74 68 69 | 73 20 77 69 6c 6c 20 6e |ough thi|s will n|
|00005b70| 6f 74 20 64 65 66 65 61 | 74 20 61 6e 20 65 78 70 |ot defea|t an exp|
|00005b80| 6c 69 63 69 74 20 63 61 | 6c 6c 20 74 6f 20 60 62 |licit ca|ll to `b|
|00005b90| 75 69 6c 74 69 6e 0a 20 | 20 20 20 20 20 20 20 65 |uiltin. | e|
|00005ba0| 63 68 6f 27 2e 0a 0a 20 | 20 20 20 20 20 20 20 20 |cho'... | |
|00005bb0| 20 20 20 66 6e 20 65 63 | 68 6f 20 7b 20 2f 62 69 | fn ec|ho { /bi|
|00005bc0| 6e 2f 65 63 68 6f 20 24 | 2a 20 7d 0a 0a 20 20 20 |n/echo $|* }.. |
|00005bd0| 20 20 20 20 20 53 65 65 | 20 61 6c 73 6f 20 37 2e | See| also 7.|
|00005be0| 33 2e 0a 0a 34 2e 31 33 | 20 20 20 20 44 6f 65 73 |3...4.13| Does|
|00005bf0| 20 72 63 20 68 61 76 65 | 20 74 65 73 74 20 62 75 | rc have| test bu|
|00005c00| 69 6c 74 20 69 6e 3f 0a | 0a 20 20 20 20 20 20 20 |ilt in?.|. |
|00005c10| 20 4e 6f 2e 20 20 59 6f | 75 20 63 61 6e 20 75 73 | No. Yo|u can us|
|00005c20| 65 20 74 68 65 20 62 75 | 69 6c 74 2d 69 6e 20 60 |e the bu|ilt-in `|
|00005c30| 7e 27 20 63 6f 6d 6d 61 | 6e 64 20 74 6f 20 6d 61 |~' comma|nd to ma|
|00005c40| 74 63 68 20 73 74 72 69 | 6e 67 73 2c 20 61 6e 64 |tch stri|ngs, and|
|00005c50| 0a 20 20 20 20 20 20 20 | 20 66 61 6c 6c 20 62 61 |. | fall ba|
|00005c60| 63 6b 20 6f 6e 20 2f 62 | 69 6e 2f 65 78 70 72 20 |ck on /b|in/expr |
|00005c70| 6f 72 20 2f 62 69 6e 2f | 74 65 73 74 20 66 6f 72 |or /bin/|test for|
|00005c80| 20 6e 75 6d 65 72 69 63 | 20 63 6f 6d 70 61 72 69 | numeric| compari|
|00005c90| 73 6f 6e 73 20 61 6e 64 | 0a 20 20 20 20 20 20 20 |sons and|. |
|00005ca0| 20 2f 62 69 6e 2f 74 65 | 73 74 20 66 6f 72 20 71 | /bin/te|st for q|
|00005cb0| 75 65 72 79 69 6e 67 20 | 74 68 65 20 66 69 6c 65 |uerying |the file|
|00005cc0| 20 73 79 73 74 65 6d 2e | 0a 0a 20 20 20 20 20 20 | system.|.. |
|00005cd0| 20 20 49 66 20 79 6f 75 | 20 61 72 65 20 75 73 69 | If you| are usi|
|00005ce0| 6e 67 20 72 63 20 6f 6e | 20 61 20 73 79 73 74 65 |ng rc on| a syste|
|00005cf0| 6d 20 74 68 61 74 20 6c | 61 63 6b 73 20 61 20 73 |m that l|acks a s|
|00005d00| 74 61 6e 64 2d 61 6c 6f | 6e 65 0a 20 20 20 20 20 |tand-alo|ne. |
|00005d10| 20 20 20 2f 62 69 6e 2f | 74 65 73 74 20 61 6e 64 | /bin/|test and|
|00005d20| 20 2f 62 69 6e 2f 5b 20 | 61 6e 64 20 68 61 73 20 | /bin/[ |and has |
|00005d30| 74 65 73 74 20 62 75 69 | 6c 74 20 69 6e 74 6f 20 |test bui|lt into |
|00005d40| 73 68 2c 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |sh, the |followin|
|00005d50| 67 0a 20 20 20 20 20 20 | 20 20 73 65 72 76 65 73 |g. | serves|
|00005d60| 20 61 73 20 61 6e 20 69 | 6e 74 65 72 69 6d 20 72 | as an i|nterim r|
|00005d70| 65 70 6c 61 63 65 6d 65 | 6e 74 3a 0a 0a 20 20 20 |eplaceme|nt:.. |
|00005d80| 20 20 20 20 20 20 20 20 | 20 23 21 20 2f 62 69 6e | | #! /bin|
|00005d90| 2f 73 68 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |/sh. | |
|00005da0| 60 62 61 73 65 6e 61 6d | 65 20 24 30 60 20 24 7b |`basenam|e $0` ${|
|00005db0| 31 2b 22 24 40 22 7d 0a | 20 20 20 20 20 20 20 20 |1+"$@"}.| |
|00005dc0| 20 20 20 20 23 20 65 6e | 64 2d 6f 66 2d 66 69 6c | # en|d-of-fil|
|00005dd0| 65 0a 0a 20 20 20 20 20 | 20 20 20 54 68 69 73 20 |e.. | This |
|00005de0| 61 70 70 6c 69 65 73 20 | 74 6f 20 55 6e 69 63 6f |applies |to Unico|
|00005df0| 73 20 61 6e 64 20 48 50 | 2d 55 58 20 76 38 2e 20 |s and HP|-UX v8. |
|00005e00| 20 4e 6f 74 65 20 74 68 | 61 74 20 74 72 69 70 2e | Note th|at trip.|
|00005e10| 72 63 2c 20 74 68 65 0a | 20 20 20 20 20 20 20 20 |rc, the.| |
|00005e20| 73 63 72 69 70 74 20 70 | 72 6f 76 69 64 65 64 20 |script p|rovided |
|00005e30| 77 69 74 68 20 74 68 65 | 20 72 63 20 73 6f 75 72 |with the| rc sour|
|00005e40| 63 65 73 20 74 6f 20 63 | 68 65 63 6b 20 62 61 73 |ces to c|heck bas|
|00005e50| 69 63 20 66 75 6e 63 74 | 69 6f 6e 61 6c 69 74 79 |ic funct|ionality|
|00005e60| 0a 20 20 20 20 20 20 20 | 20 61 66 74 65 72 20 63 |. | after c|
|00005e70| 6f 6d 70 69 6c 61 74 69 | 6f 6e 2c 20 77 69 6c 6c |ompilati|on, will|
|00005e80| 20 66 61 69 6c 20 75 6e | 6c 65 73 73 20 61 20 73 | fail un|less a s|
|00005e90| 75 69 74 61 62 6c 65 20 | 74 65 73 74 20 63 6f 6d |uitable |test com|
|00005ea0| 6d 61 6e 64 0a 20 20 20 | 20 20 20 20 20 65 78 69 |mand. | exi|
|00005eb0| 73 74 73 20 69 6e 20 74 | 68 65 20 70 61 74 68 2e |sts in t|he path.|
|00005ec0| 0a 0a 20 20 20 20 20 20 | 20 20 53 43 4f 20 55 4e |.. | SCO UN|
|00005ed0| 49 58 20 69 6d 70 6c 65 | 6d 65 6e 74 73 20 2f 62 |IX imple|ments /b|
|00005ee0| 69 6e 2f 74 65 73 74 20 | 69 6e 20 70 72 65 63 69 |in/test |in preci|
|00005ef0| 73 65 6c 79 20 74 68 69 | 73 20 77 61 79 2e 20 20 |sely thi|s way. |
|00005f00| 59 6f 75 20 63 61 6e 0a | 20 20 20 20 20 20 20 20 |You can.| |
|00005f10| 61 6c 6d 6f 73 74 20 63 | 65 72 74 61 69 6e 6c 79 |almost c|ertainly|
|00005f20| 20 67 65 74 20 62 65 74 | 74 65 72 20 70 65 72 66 | get bet|ter perf|
|00005f30| 6f 72 6d 61 6e 63 65 20 | 62 79 20 75 73 69 6e 67 |ormance |by using|
|00005f40| 20 74 68 65 20 47 4e 55 | 0a 20 20 20 20 20 20 20 | the GNU|. |
|00005f50| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation |
|00005f60| 6f 66 20 2f 62 69 6e 2f | 74 65 73 74 20 28 73 65 |of /bin/|test (se|
|00005f70| 65 20 37 2e 34 29 2c 20 | 61 6c 74 68 6f 75 67 68 |e 7.4), |although|
|00005f80| 20 74 68 69 73 20 69 73 | 0a 20 20 20 20 20 20 20 | this is|. |
|00005f90| 20 6f 62 76 69 6f 75 73 | 6c 79 20 6d 6f 72 65 20 | obvious|ly more |
|00005fa0| 69 6d 70 6f 72 74 61 6e | 74 20 6f 6e 20 61 6e 20 |importan|t on an |
|00005fb0| 69 33 38 36 20 6d 61 63 | 68 69 6e 65 20 74 68 61 |i386 mac|hine tha|
|00005fc0| 6e 20 6f 6e 20 61 20 43 | 72 61 79 2e 0a 0a 20 20 |n on a C|ray... |
|00005fd0| 20 20 20 20 20 20 49 74 | 20 69 73 20 70 6f 73 73 | It| is poss|
|00005fe0| 69 62 6c 65 20 74 6f 20 | 67 65 74 20 61 74 20 74 |ible to |get at t|
|00005ff0| 68 65 20 66 69 6c 65 20 | 73 79 73 74 65 6d 20 6f |he file |system o|
|00006000| 62 6c 69 71 75 65 6c 79 | 20 74 68 72 6f 75 67 68 |bliquely| through|
|00006010| 20 74 68 65 0a 20 20 20 | 20 20 20 20 20 67 6c 6f | the. | glo|
|00006020| 62 62 69 6e 67 20 6d 65 | 63 68 61 6e 69 73 6d 20 |bbing me|chanism |
|00006030| 61 6e 64 20 74 68 65 20 | 62 75 69 6c 74 69 6e 20 |and the |builtin |
|00006040| 63 64 20 63 6f 6d 6d 61 | 6e 64 2c 20 61 6e 64 20 |cd comma|nd, and |
|00006050| 69 6e 20 73 6f 6d 65 0a | 20 20 20 20 20 20 20 20 |in some.| |
|00006060| 63 69 72 63 75 6d 73 74 | 61 6e 63 65 73 20 74 68 |circumst|ances th|
|00006070| 65 73 65 20 63 61 6e 20 | 62 65 20 6f 66 20 75 73 |ese can |be of us|
|00006080| 65 20 28 73 65 65 2c 20 | 66 6f 72 20 65 78 61 6d |e (see, |for exam|
|00006090| 70 6c 65 2c 20 35 2e 37 | 29 2e 20 20 53 75 63 68 |ple, 5.7|). Such|
|000060a0| 0a 20 20 20 20 20 20 20 | 20 73 70 65 65 64 20 68 |. | speed h|
|000060b0| 61 63 6b 73 20 6e 65 65 | 64 20 74 6f 20 62 65 20 |acks nee|d to be |
|000060c0| 63 61 72 65 66 75 6c 6c | 79 20 6a 75 73 74 69 66 |carefull|y justif|
|000060d0| 69 65 64 2e 0a 0a 20 20 | 20 20 20 20 20 20 53 65 |ied... | Se|
|000060e0| 65 20 61 6c 73 6f 20 37 | 2e 33 2e 0a 0a 34 2e 31 |e also 7|.3...4.1|
|000060f0| 34 20 20 20 20 44 6f 65 | 73 20 72 63 20 68 61 76 |4 Doe|s rc hav|
|00006100| 65 20 74 72 75 65 2c 20 | 66 61 6c 73 65 2c 20 61 |e true, |false, a|
|00006110| 6e 64 20 60 3a 27 20 62 | 75 69 6c 74 20 69 6e 3f |nd `:' b|uilt in?|
|00006120| 0a 0a 20 20 20 20 20 20 | 20 20 4e 6f 2e 20 20 54 |.. | No. T|
|00006130| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 66 75 6e |he follo|wing fun|
|00006140| 63 74 69 6f 6e 73 20 61 | 72 65 20 6a 75 73 74 20 |ctions a|re just |
|00006150| 61 73 20 66 61 73 74 3a | 0a 0a 20 20 20 20 20 20 |as fast:|.. |
|00006160| 20 20 20 20 20 20 66 6e | 20 74 72 75 65 20 20 7b | fn| true {|
|00006170| 20 72 65 74 75 72 6e 20 | 30 20 7d 0a 20 20 20 20 | return |0 }. |
|00006180| 20 20 20 20 20 20 20 20 | 66 6e 20 66 61 6c 73 65 | |fn false|
|00006190| 20 7b 20 72 65 74 75 72 | 6e 20 31 20 7d 0a 20 20 | { retur|n 1 }. |
|000061a0| 20 20 20 20 20 20 20 20 | 20 20 66 6e 20 3a 20 7b | | fn : {|
|000061b0| 20 72 65 74 75 72 6e 20 | 30 20 7d 0a 0a 20 20 20 | return |0 }.. |
|000061c0| 20 20 20 20 20 4e 6f 74 | 65 20 74 68 61 74 20 61 | Not|e that a|
|000061d0| 6e 20 69 6e 64 65 66 69 | 6e 69 74 65 20 6c 6f 6f |n indefi|nite loo|
|000061e0| 70 20 69 6e 20 72 63 20 | 64 6f 65 73 20 6e 6f 74 |p in rc |does not|
|000061f0| 20 72 65 71 75 69 72 65 | 20 74 68 65 20 75 73 65 | require| the use|
|00006200| 20 6f 66 0a 20 20 20 20 | 20 20 20 20 61 6e 20 65 | of. | an e|
|00006210| 78 70 6c 69 63 69 74 20 | 60 74 72 75 65 27 20 63 |xplicit |`true' c|
|00006220| 6f 6d 6d 61 6e 64 3a 0a | 0a 20 20 20 20 20 20 20 |ommand:.|. |
|00006230| 20 20 20 20 20 77 68 69 | 6c 65 20 28 29 20 7b 0a | whi|le () {.|
|00006240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006250| 2e 2e 2e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00006260| 7d 0a 0a 35 2e 20 20 20 | 20 20 20 55 73 69 6e 67 |}..5. | Using|
|00006270| 20 72 63 20 61 73 20 61 | 20 6c 6f 67 69 6e 20 73 | rc as a| login s|
|00006280| 68 65 6c 6c 0a 0a 35 2e | 31 20 20 20 20 20 48 6f |hell..5.|1 Ho|
|00006290| 77 20 64 6f 20 49 20 6d | 61 6b 65 20 72 63 20 6d |w do I m|ake rc m|
|000062a0| 79 20 6c 6f 67 69 6e 20 | 73 68 65 6c 6c 3f 0a 0a |y login |shell?..|
|000062b0| 20 20 20 20 20 20 20 20 | 4f 6e 20 6d 6f 73 74 20 | |On most |
|000062c0| 73 79 73 74 65 6d 73 2c | 20 79 6f 75 20 6f 72 20 |systems,| you or |
|000062d0| 74 68 65 20 73 79 73 74 | 65 6d 20 61 64 6d 69 6e |the syst|em admin|
|000062e0| 69 73 74 72 61 74 6f 72 | 20 77 69 6c 6c 20 68 61 |istrator| will ha|
|000062f0| 76 65 20 74 6f 0a 20 20 | 20 20 20 20 20 20 61 64 |ve to. | ad|
|00006300| 64 20 61 20 6c 69 6e 65 | 20 74 6f 20 2f 65 74 63 |d a line| to /etc|
|00006310| 2f 73 68 65 6c 6c 73 20 | 63 6f 6e 74 61 69 6e 69 |/shells |containi|
|00006320| 6e 67 20 74 68 65 20 66 | 75 6c 6c 20 70 61 74 68 |ng the f|ull path|
|00006330| 20 74 6f 20 72 63 2e 20 | 20 54 68 69 73 0a 20 20 | to rc. | This. |
|00006340| 20 20 20 20 20 20 77 69 | 6c 6c 20 6e 65 65 64 20 | wi|ll need |
|00006350| 74 6f 20 62 65 20 64 6f | 6e 65 20 6f 6e 20 65 61 |to be do|ne on ea|
|00006360| 63 68 20 6d 61 63 68 69 | 6e 65 20 6f 6e 20 77 68 |ch machi|ne on wh|
|00006370| 69 63 68 20 79 6f 75 20 | 77 69 73 68 20 74 6f 20 |ich you |wish to |
|00006380| 75 73 65 0a 20 20 20 20 | 20 20 20 20 72 63 2e 0a |use. | rc..|
|00006390| 0a 20 20 20 20 20 20 20 | 20 4e 65 78 74 2c 20 75 |. | Next, u|
|000063a0| 73 65 20 74 68 65 20 63 | 68 73 68 20 63 6f 6d 6d |se the c|hsh comm|
|000063b0| 61 6e 64 20 74 6f 20 73 | 70 65 63 69 66 79 20 79 |and to s|pecify y|
|000063c0| 6f 75 72 20 6e 65 77 20 | 70 72 65 66 65 72 65 6e |our new |preferen|
|000063d0| 63 65 2e 20 20 49 66 0a | 20 20 20 20 20 20 20 20 |ce. If.| |
|000063e0| 79 6f 75 72 20 6d 61 63 | 68 69 6e 65 20 69 73 20 |your mac|hine is |
|000063f0| 72 75 6e 6e 69 6e 67 20 | 59 65 6c 6c 6f 77 20 50 |running |Yellow P|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.